mempool: avoid reassigning utilityBalanceAndFees value
It's not needed, we're either creating a new one and assigning it 6 lines above or we're changing already existing big.Int via a pointer, so no update is needed.
This commit is contained in:
parent
7310e748e3
commit
fc7ea6217d
1 changed files with 0 additions and 1 deletions
|
@ -121,7 +121,6 @@ func (mp *Pool) tryAddSendersFee(tx *transaction.Transaction, feer Feer, needChe
|
|||
return false
|
||||
}
|
||||
senderFee.feeSum.Add(senderFee.feeSum, big.NewInt(tx.SystemFee+tx.NetworkFee))
|
||||
mp.fees[tx.Sender()] = senderFee
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue