mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 11:32:20 +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
|
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{}
|
sc.senderIDs = map[string]uint64{}
|
||||||
|
|
||||||
v := make([]byte, 8, 8+32)
|
v := make([]byte, 8, 8+32)
|
||||||
|
Loading…
Reference in New Issue
Block a user