Skip to content

Commit 9b84acf

Browse files
committed
These paths should only have txid: true for their specific tx not the whole lot.
Signed-off-by: Darren Kellenschwiler <[email protected]>
1 parent 05ff1f9 commit 9b84acf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bump.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ func NewBUMPFromMerkleTreeAndIndex(blockHeight uint64, merkleTree []*chainhash.H
245245
} else {
246246
sh := hash.String()
247247
thisLeaf.Hash = &sh
248-
if height == 0 {
248+
if height == 0 && txIndex == o {
249249
thisLeaf.Txid = &t
250250
}
251251
}

0 commit comments

Comments
 (0)