From 3cb65b3f69f1d1f58dccb4165e38135c512aef8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sa=C5=82aban?= Date: Sun, 28 Jan 2018 12:27:19 +0100 Subject: Return appropriate error code when not enough money for tx --- src/wallet/wallet_rpc_server_error_codes.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wallet/wallet_rpc_server_error_codes.h') 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 -- cgit v1.2.3 From f90c76beb4ae247178518f5097a580b5971374bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sa=C5=82aban?= Date: Mon, 29 Jan 2018 08:28:25 +0100 Subject: Return appropriate error code when there's no connection to daemon --- src/wallet/wallet_rpc_server_error_codes.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wallet/wallet_rpc_server_error_codes.h') diff --git a/src/wallet/wallet_rpc_server_error_codes.h b/src/wallet/wallet_rpc_server_error_codes.h index 462b8fbbf..38c464895 100644 --- a/src/wallet/wallet_rpc_server_error_codes.h +++ b/src/wallet/wallet_rpc_server_error_codes.h @@ -68,3 +68,4 @@ #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 +#define WALLET_RPC_ERROR_CODE_NO_DAEMON_CONNECTION -38 -- cgit v1.2.3