mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-19 17:58:23 +00:00
More specific error message when block validation fails
This commit is contained in:
parent
be107df7f1
commit
f4a3a36731
@ -356,6 +356,6 @@ proc process_block*(
|
|||||||
|
|
||||||
let res_ops = process_operations(preset, state, blck.body, flags, stateCache)
|
let res_ops = process_operations(preset, state, blck.body, flags, stateCache)
|
||||||
if res_ops.isErr:
|
if res_ops.isErr:
|
||||||
return err("process_operations encountered error".cstring)
|
return res_ops
|
||||||
|
|
||||||
ok()
|
ok()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user