Files
bitcoin/src
John Newbery f5efe82a83 Return correct error codes in fundrawtransaction().
The fundrawtransaction() RPC was returning misleading or incorrect error
codes (for example RPC_INTERNAL_ERROR when funding the transaction
failed). 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.

That error code has been replaced with RPC_WALLET_ERROR.

This commit also updates the test cases to explicitly test the error code.

Github-Pull: #9853
Rebased-From: dab804c18a
2017-06-05 19:01:16 +00:00
..
2017-01-27 21:22:35 +01:00
2016-12-01 16:14:45 -08:00
2016-12-12 11:08:47 -08:00
2017-01-27 21:22:35 +01:00
2017-06-02 07:39:56 +02:00
2017-01-04 11:56:17 -08:00
2017-01-27 21:22:35 +01:00
2017-01-14 21:45:32 +01:00
2017-02-28 12:48:19 +01:00
2017-04-14 10:35:49 +02: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
2017-01-27 21:22:35 +01:00