mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-09 04:21:20 +00:00
add state check assert routine
This commit is contained in:
parent
fe00a55513
commit
90fc042d5d
@ -618,7 +618,7 @@ func (sc *SendersCache) flush(tx kv.RwTx, byNonce *ByNonce) error {
|
|||||||
if currentV != nil && bytes.Equal(currentV, encID) {
|
if currentV != nil && bytes.Equal(currentV, encID) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
fmt.Printf("put: %x\n", addr)
|
||||||
if err := tx.Put(kv.PooledSenderID, []byte(addr), encID); err != nil {
|
if err := tx.Put(kv.PooledSenderID, []byte(addr), encID); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user