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.
outIndex
1 parent 103acfe commit 112c8d2Copy full SHA for 112c8d2
tapsend/proof.go
@@ -336,13 +336,13 @@ func addOtherOutputExclusionProofs(outputs []*tappsbt.VOutput,
336
for idx := range outputs {
337
vOut := outputs[idx]
338
339
- haveIProof := params.HaveInclusionProof(vOut.AnchorOutputIndex)
340
- haveEProof := params.HaveExclusionProof(vOut.AnchorOutputIndex)
+ outIndex := vOut.AnchorOutputIndex
+ haveIProof := params.HaveInclusionProof(outIndex)
341
+ haveEProof := params.HaveExclusionProof(outIndex)
342
if haveIProof || haveEProof {
343
continue
344
}
345
- outIndex := vOut.AnchorOutputIndex
346
tapTree := outputCommitments[outIndex]
347
348
_, splitExclusionProof, err := tapTree.Proof(
0 commit comments