ethereum/hive

Incorrect error checking in SyncingWithInvalidChain test

Tumas opened this issue · 0 comments

Tumas commented

It looks like this error checking condition is incorrect and needs to be inverted:

if payload, err := versionedBlock.ExecutionPayload(); err == nil {
t.Fatalf(
"FAIL: error getting execution payload: %v",
err,
)

as ExecutionPayload method returns no error when payload is returned.