mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-03 06:29:47 +01:00
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. |
||
---|---|---|
.. | ||
test | ||
coincontrol.h | ||
crypter.cpp | ||
crypter.h | ||
db.cpp | ||
db.h | ||
rpcdump.cpp | ||
rpcwallet.cpp | ||
rpcwallet.h | ||
wallet.cpp | ||
wallet.h | ||
walletdb.cpp | ||
walletdb.h |