blockchain-core
blockchain-core copied to clipboard
More verbose ledger_poc_v3:verify error
Problem
When ledger POC verification fails we can't really tell whether it failed due to incorrect challenger or the block hash.
Solution
This switches the return type for poc_v3:verify
to be an ok | {error, ...}
and passes it down.