mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-08 03:51:20 +00:00
add state check assert routine
This commit is contained in:
parent
b1e8c95609
commit
71366cb4ab
@ -630,7 +630,7 @@ func (sc *SendersCache) flush(tx kv.RwTx, byNonce *ByNonce, sendersWithoutTransa
|
|||||||
}
|
}
|
||||||
justInserted = append(justInserted, id)
|
justInserted = append(justInserted, id)
|
||||||
}
|
}
|
||||||
|
sort.Slice(justInserted, func(i, j int) bool { return justInserted[i] < justInserted[j] })
|
||||||
v := make([]byte, 8, 8+32)
|
v := make([]byte, 8, 8+32)
|
||||||
for id, info := range sc.senderInfo {
|
for id, info := range sc.senderInfo {
|
||||||
binary.BigEndian.PutUint64(encID, id)
|
binary.BigEndian.PutUint64(encID, id)
|
||||||
|
Loading…
Reference in New Issue
Block a user