Skip to content

Commit

Permalink
Merge pull request #110 from zoedberg/fix_anchor_validation
Browse files Browse the repository at this point in the history
Fix anchor commitment check
  • Loading branch information
dr-orlovsky authored Aug 21, 2022
2 parents 2dbb7a1 + cb9634c commit b324d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ impl<'consignment, 'resolver, C: Consignment<'consignment>, R: ResolveTx>
// commitment
if anchor
.verify(self.contract_id, bundle_id.into(), witness_tx.clone())
.is_ok()
.is_err()
{
// TODO: Save error details
// The node is not committed to bitcoin transaction graph!
Expand Down

0 comments on commit b324d64

Please sign in to comment.