aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_error_codes.h
diff options
context:
space:
mode:
authorMichał Sałaban <michal@salaban.info>2018-01-28 12:27:19 +0100
committerMichał Sałaban <michal@salaban.info>2018-01-28 12:52:05 +0100
commit3cb65b3f69f1d1f58dccb4165e38135c512aef8d (patch)
tree78c32105f15fcb8327d4e9e39c1fdfb29e745340 /src/wallet/wallet_rpc_server_error_codes.h
parentMerge pull request #3188 (diff)
downloadmonero-3cb65b3f69f1d1f58dccb4165e38135c512aef8d.tar.xz
Return appropriate error code when not enough money for tx
Diffstat (limited to 'src/wallet/wallet_rpc_server_error_codes.h')
-rw-r--r--src/wallet/wallet_rpc_server_error_codes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server_error_codes.h b/src/wallet/wallet_rpc_server_error_codes.h
index 311556657..462b8fbbf 100644
--- a/src/wallet/wallet_rpc_server_error_codes.h
+++ b/src/wallet/wallet_rpc_server_error_codes.h
@@ -67,3 +67,4 @@
#define WALLET_RPC_ERROR_CODE_BAD_MULTISIG_TX_DATA -34
#define WALLET_RPC_ERROR_CODE_MULTISIG_SIGNATURE -35
#define WALLET_RPC_ERROR_CODE_MULTISIG_SUBMISSION -36
+#define WALLET_RPC_ERROR_CODE_NOT_ENOUGH_UNLOCKED_MONEY -37