diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-09-27 11:26:17 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-09-27 11:26:29 -0400 |
commit | 01211cea71016ceadfcbe98a8ec660a5071bd82e (patch) | |
tree | 953e2498b0a08ef1a959d616c86c9a6d382bd3e1 /src/wallet | |
parent | 423cb37658b81b2cb8475b6fdb08b3122fee51a4 (diff) | |
parent | 9c5af58d51cea7d0cf2a598a9979eeba103b23ff (diff) |
Merge #14307: Consolidate redundant implementations of ParseHashStr
9c5af58d51 Consolidate redundant implementations of ParseHashStr (Ben Woosley)
Pull request description:
This change:
* adds a length check to all calls 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
Relative to #14288
Tree-SHA512: baa791147e5ceb3c30c70df3981aaf807bf7d4a90a0be3625540b59aa4b9a9d303a452bfef18bf167cbb833ef9591b4ef5948bf4a1ce67b421d804ae8d20ea53
Diffstat (limited to 'src/wallet')
0 files changed, 0 insertions, 0 deletions