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)
|
||||
if res_ops.isErr:
|
||||
return err("process_operations encountered error".cstring)
|
||||
return res_ops
|
||||
|
||||
ok()
|
||||
|
|
Loading…
Reference in New Issue