Skip to content

Commit 0ff8849

Browse files
gijswijsguggero
authored andcommitted
tapsend: improve wording comment
1 parent 112c8d2 commit 0ff8849

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tapsend/send.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,9 +2073,9 @@ func ValidateAnchorInputs(anchorPacket *psbt.Packet, packets []*tappsbt.VPacket,
20732073
}
20742074

20752075
// This is the most important check. This ensures that the
2076-
// assets in the outputs of the virtual transactions match
2077-
// exactly the assets that are committed to in the anchor
2078-
// output script.
2076+
// assets in the inputs of the virtual transactions match
2077+
// exactly the assets committed to in the anchor output script
2078+
// that is being spent.
20792079
anchorScript := inputScripts[anchorOutpoint]
20802080
if !bytes.Equal(anchorScript, script) {
20812081
// The commitment may not be V2; let's check against

0 commit comments

Comments
 (0)