mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-05 18:42:19 +00:00
add state check assert routine
This commit is contained in:
parent
a7f6d54571
commit
30acd46be5
@ -319,6 +319,7 @@ func (f *Fetch) handleInboundMessage(ctx context.Context, req *sentry.InboundMes
|
|||||||
if ASSERT {
|
if ASSERT {
|
||||||
for i := 0; i < txs.senders.Len(); i++ {
|
for i := 0; i < txs.senders.Len(); i++ {
|
||||||
if bytes.Equal(txs.senders.At(i), EmptyAddr[:]) {
|
if bytes.Equal(txs.senders.At(i), EmptyAddr[:]) {
|
||||||
|
fmt.Printf("here: %s, %x\n", req.Id, req.Data)
|
||||||
panic("here")
|
panic("here")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user