go-ethereum
go-ethereum copied to clipboard
eth/catalyst: fix edge case in simulated backend
geth cmd: geth --dev --dev.period 5
call: debug.setHead to rollback several blocks.
If the debug.setHead call is delayed, it will trigger a panic with a small probability, due to using the null point of fcResponse.PayloadID.