Skip to content

Commit 56ff94f

Browse files
gijswijsguggero
authored andcommitted
proof: toggle inclusion bool for proper logging
This bool accidentally was set to `true`. It does not affect the logic, but it does affect the debug logging in `deriveCommitmentKeys`. By correcting the value to `false`, we ensure that the debug logging mentions the correct prooftype: Exclusion.
1 parent 8be715f commit 56ff94f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proof/taproot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ func (p TaprootProof) DeriveByAssetExclusion(assetCommitmentKey,
411411

412412
return deriveCommitmentKeys(
413413
tapCommitment, p.InternalKey,
414-
p.CommitmentProof.TapSiblingPreimage, true, true,
414+
p.CommitmentProof.TapSiblingPreimage, false, true,
415415
)
416416
}
417417

0 commit comments

Comments
 (0)