From d75d4842aeb20a1fa990cefe6dea8ecb5026998b Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Tue, 27 Feb 2018 22:33:55 +0300 Subject: [PATCH] RPC: "BTC" -> CURRENCY_UNIT --- src/rpc/mining.cpp | 2 +- src/wallet/rpcwallet.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 2990d989da..4031578df1 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -888,7 +888,7 @@ UniValue estimatesmartfee(const JSONRPCRequest& request) "1. nblocks (numeric)\n" "\nResult:\n" "{\n" - " \"feerate\" : x.x, (numeric) estimate fee-per-kilobyte (in BTC)\n" + " \"feerate\" : x.x, (numeric) estimate fee-per-kilobyte (in " + CURRENCY_UNIT + ")\n" " \"blocks\" : n (numeric) block number where estimate was found\n" "}\n" "\n" diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 6dc89cff49..05646dfd6f 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -456,7 +456,7 @@ UniValue instantsendtoaddress(const JSONRPCRequest& request) + HelpRequiringPassphrase() + "\nArguments:\n" "1. \"address\" (string, required) The dash address to send to.\n" - "2. \"amount\" (numeric, required) The amount in btc to send. eg 0.1\n" + "2. \"amount\" (numeric, required) The amount in " + CURRENCY_UNIT + " to send. eg 0.1\n" "3. \"comment\" (string, optional) A comment used to store what the transaction is for. \n" " This is not part of the transaction, just kept in your wallet.\n" "4. \"comment_to\" (string, optional) A comment to store the name of the person or organization \n"