mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-20 17:31:11 +00:00
add state check assert routine
This commit is contained in:
parent
b8381cfd3a
commit
57e84d56c3
@ -194,8 +194,9 @@ func ParsePooledTransactions65(payload []byte, pos int, ctx *TxParseContext, txS
|
||||
return 0, err
|
||||
}
|
||||
if ASSERT {
|
||||
if bytes.Equal(txSlots.txs[i].idHash[:], EmptyAddr[:]) {
|
||||
if bytes.Equal(txSlots.senders.At(i), EmptyAddr[:]) {
|
||||
fmt.Printf("etmpy: %#v\n", txSlots.txs[i])
|
||||
fmt.Printf("etmpy: %x\n", txSlots.senders)
|
||||
panic("?????")
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user