diff options
| author | Ben Woosley <[email protected]> | 2018-09-24 10:59:17 -0400 |
|---|---|---|
| committer | Ben Woosley <[email protected]> | 2018-09-25 09:14:52 -0700 |
| commit | 9c5af58d51cea7d0cf2a598a9979eeba103b23ff (patch) | |
| tree | 8b75bcda130319567c94b2e37535f81d911b4d2d /src/httpserver.cpp | |
| parent | Merge #14007: tests: Run functional test on Windows and enable it on Appveyor (diff) | |
| download | discoin-9c5af58d51cea7d0cf2a598a9979eeba103b23ff.tar.xz discoin-9c5af58d51cea7d0cf2a598a9979eeba103b23ff.zip | |
Consolidate redundant implementations of ParseHashStr
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
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions