Skip to content

Commit fcbb208

Browse files
committed
remove ineffective code
1 parent 82aedff commit fcbb208

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

transaction/beef.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,6 @@ func (b *Beef) MergeTxidOnly(txid string) *BeefTx {
719719
KnownTxID: knownTxID,
720720
}
721721
b.Transactions[txid] = tx
722-
b.tryToValidateBumpIndex(tx)
723722
}
724723
return tx
725724
}
@@ -1034,10 +1033,10 @@ func (b *Beef) trimUnreferencedBumps() {
10341033

10351034
// Track which BUMP indices are still referenced by remaining transactions
10361035
usedBumpIndices := make(map[int]bool)
1037-
1036+
10381037
// Build a set of transaction IDs that need BUMPs
10391038
txidsNeedingBumps := make(map[string]bool)
1040-
1039+
10411040
for txid, tx := range b.Transactions {
10421041
switch tx.DataFormat {
10431042
case RawTxAndBumpIndex:

0 commit comments

Comments
 (0)