Files
bitcoin/src
John Newbery 960bc7f778 Return correct error codes in removeprunedfunds().
The removeprunedfunds() RPC was returning misleading or incorrect error
codes (for example RPC_INTERNAL_ERROR when the transaction was
not found in the wallet). This commit fixes those error codes:

- RPC_INTERNAL_ERROR should not be returned for application-level
errors, only for genuine internal errors such as corrupted data.

This error code has been replaced with RPC_WALLET_ERROR.

This commit also updates the test cases to explicitly test the error code.
2017-03-07 16:45:09 -05:00
..
2017-01-27 21:22:35 +01:00
2016-12-12 11:08:47 -08:00
2017-01-27 21:22:35 +01:00
2017-02-17 17:27:18 +01:00
2017-01-27 21:22:35 +01:00
2017-01-14 21:45:32 +01:00
2017-02-17 15:28:28 -08:00
2017-02-23 01:06:04 -05:00
2017-01-27 21:22:35 +01:00
2017-01-27 21:22:35 +01:00
2017-01-27 21:22:35 +01:00