This change: * adds a length check to ParseHashStr, appropriate given its use to populate a 256-bit number from a hex str. * allows the caller to handle the failure, which allows for the more appropriate JSONRPCError on failure in prioritisetransaction rpc |
||
|---|---|---|
| .. | ||
| data | ||
| bitcoin-util-test.py | ||
| rpcauth-test.py | ||