mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-05 18:42:19 +00:00
111
This commit is contained in:
parent
9858746225
commit
3eb8a99b59
@ -372,8 +372,8 @@ func onNewBlock(senderInfo map[uint64]*senderInfo, unwindTxs TxSlots, minedTxs [
|
|||||||
queued.EnforceInvariants()
|
queued.EnforceInvariants()
|
||||||
|
|
||||||
promote(pending, baseFee, queued, func(i *MetaTx) {
|
promote(pending, baseFee, queued, func(i *MetaTx) {
|
||||||
fmt.Printf("del1 nonce: %d, %d,%d\n", i.Tx.senderID, senderInfo[i.Tx.senderID].nonce, i.Tx.nonce)
|
//fmt.Printf("del1 nonce: %d, %d,%d\n", i.Tx.senderID, senderInfo[i.Tx.senderID].nonce, i.Tx.nonce)
|
||||||
fmt.Printf("del2 balance: %d,%d,%d\n", i.Tx.value.Uint64(), i.Tx.tip, senderInfo[i.Tx.senderID].balance.Uint64())
|
//fmt.Printf("del2 balance: %d,%d,%d\n", i.Tx.value.Uint64(), i.Tx.tip, senderInfo[i.Tx.senderID].balance.Uint64())
|
||||||
delete(byHash, string(i.Tx.idHash[:]))
|
delete(byHash, string(i.Tx.idHash[:]))
|
||||||
senderInfo[i.Tx.senderID].txNonce2Tx.Delete(&nonce2TxItem{i})
|
senderInfo[i.Tx.senderID].txNonce2Tx.Delete(&nonce2TxItem{i})
|
||||||
if i.SubPool&IsLocal != 0 {
|
if i.SubPool&IsLocal != 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user