Skip to content

Commit

Permalink
These paths should only have txid: true for their specific tx not the…
Browse files Browse the repository at this point in the history
… whole lot.

Signed-off-by: Darren Kellenschwiler <[email protected]>
  • Loading branch information
sirdeggen committed Nov 20, 2023
1 parent 05ff1f9 commit 9b84acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bump.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func NewBUMPFromMerkleTreeAndIndex(blockHeight uint64, merkleTree []*chainhash.H
} else {
sh := hash.String()
thisLeaf.Hash = &sh
if height == 0 {
if height == 0 && txIndex == o {
thisLeaf.Txid = &t
}
}
Expand Down

0 comments on commit 9b84acf

Please sign in to comment.