We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f9c122 commit d6b10beCopy full SHA for d6b10be
tapscript/send.go
@@ -794,7 +794,7 @@ func CreateOutputCommitments(inputTapCommitments tappsbt.InputCommitments,
794
}
795
796
// Remove all input assets from the asset commitment tree.
797
- err := assetCommitment.Delete(inputAsset)
+ err = assetCommitment.Delete(inputAsset)
798
if err != nil {
799
return nil, err
800
@@ -819,7 +819,7 @@ func CreateOutputCommitments(inputTapCommitments tappsbt.InputCommitments,
819
// The asset is present, just commit it to the input
820
// asset commitment.
821
case vOut.Asset != nil:
822
- err := assetCommitment.Upsert(vOut.Asset)
+ err = assetCommitment.Upsert(vOut.Asset)
823
824
825
0 commit comments