mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 03:22:18 +00:00
add state check assert routine
This commit is contained in:
parent
b0ec89421d
commit
73ad34716f
@ -594,7 +594,9 @@ func (sc *SendersCache) flush(tx kv.RwTx, byNonce *ByNonce, sendersWithoutTransa
|
|||||||
if len(vv) == 0 {
|
if len(vv) == 0 {
|
||||||
cc, _ := tx.Cursor(kv.PooledSenderIDToAdress)
|
cc, _ := tx.Cursor(kv.PooledSenderIDToAdress)
|
||||||
last, lastAddr, _ := cc.Last()
|
last, lastAddr, _ := cc.Last()
|
||||||
fmt.Printf("last: %d,%x\n", binary.BigEndian.Uint64(last), lastAddr)
|
if len(last) > 0 {
|
||||||
|
fmt.Printf("last: %d,%x\n", binary.BigEndian.Uint64(last), lastAddr)
|
||||||
|
}
|
||||||
fmt.Printf("now: %d\n", sc.senderID)
|
fmt.Printf("now: %d\n", sc.senderID)
|
||||||
fmt.Printf("not foundd: %d,%x,%x,%x\n", binary.BigEndian.Uint64(v[:8]), k, v, vv)
|
fmt.Printf("not foundd: %d,%x,%x,%x\n", binary.BigEndian.Uint64(v[:8]), k, v, vv)
|
||||||
fmt.Printf("aa: %x,%x,%x\n", k, v, vv)
|
fmt.Printf("aa: %x,%x,%x\n", k, v, vv)
|
||||||
|
Loading…
Reference in New Issue
Block a user