mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-06 02:52:19 +00:00
add state check assert routine
This commit is contained in:
parent
eabbcd5af2
commit
d5677b131d
@ -607,7 +607,12 @@ func (sc *SendersCache) flush(tx kv.RwTx, byNonce *ByNonce, sendersWithoutTransa
|
||||
return err
|
||||
}
|
||||
}
|
||||
fmt.Printf("last sender id:%d\n", sc.senderID)
|
||||
|
||||
{
|
||||
cc, _ := tx.Cursor(kv.PooledSenderIDToAdress)
|
||||
last, _, _ := cc.Last()
|
||||
fmt.Printf("last sender id:%d,%d\n", sc.senderID, binary.BigEndian.Uint64(last))
|
||||
}
|
||||
sc.senderIDs = map[string]uint64{}
|
||||
|
||||
v := make([]byte, 8, 8+32)
|
||||
|
Loading…
Reference in New Issue
Block a user