mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 17:44:29 +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 {
|
||||
for i := 0; i < txs.senders.Len(); i++ {
|
||||
if bytes.Equal(txs.senders.At(i), EmptyAddr[:]) {
|
||||
fmt.Printf("here: %s, %x\n", req.Id, req.Data)
|
||||
panic("here")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user