mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-08 12:01:20 +00:00
add state check assert routine
This commit is contained in:
parent
7f7c312f70
commit
7ed9ddbf38
@ -1128,7 +1128,7 @@ func (p *TxPool) fromDB(ctx context.Context, tx kv.RwTx, coreTx kv.Tx) error {
|
|||||||
}
|
}
|
||||||
if len(vv) == 0 {
|
if len(vv) == 0 {
|
||||||
tx.ForEach(kv.PooledSenderIDToAdress, nil, func(kkk, vvvv []byte) error {
|
tx.ForEach(kv.PooledSenderIDToAdress, nil, func(kkk, vvvv []byte) error {
|
||||||
if bytes.HasPrefix(kkk, v[:7]) {
|
if bytes.HasPrefix(kkk, v[:6]) {
|
||||||
fmt.Printf("found:%x,%x\n", kkk, vvvv)
|
fmt.Printf("found:%x,%x\n", kkk, vvvv)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user