From c0198c14d7d217851aa87a3fb48fad34af62cb2e Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 26 Jul 2018 06:04:46 -1100 Subject: [PATCH] tokenswapask --- src/wallet/rpcwallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index d1fef5092..210055d42 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -5278,7 +5278,7 @@ UniValue tokenswapask(const UniValue& params, bool fHelp) static uint256 zeroid; UniValue result(UniValue::VOBJ); uint64_t askamount,numtokens; std::string hex; double price; uint256 tokenid,otherid; if ( fHelp || params.size() != 4 ) - throw runtime_error("tokenswap numtokens tokenid otherid price\n"); + throw runtime_error("tokenswapask numtokens tokenid otherid price\n"); if ( ensure_CCrequirements() < 0 ) throw runtime_error("to use CC contracts, you need to launch daemon with valid -pubkey= for an address in your wallet\n"); numtokens = atoi(params[0].get_str().c_str());