From da8aa760980aed7a4daf384426c4a6013cb3f068 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 21 Jul 2018 04:49:35 -1100 Subject: [PATCH] test --- 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 9991f7405..db8c7c00a 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4862,7 +4862,7 @@ UniValue tokentransfer(const UniValue& params, bool fHelp) UniValue tokenbid(const UniValue& params, bool fHelp) { - uint64_t bidamount,numtokens; std::string hex; double price; uint256 tokenid; + UniValue result(UniValue::VOBJ); uint64_t bidamount,numtokens; std::string hex; double price; uint256 tokenid; if ( fHelp || params.size() != 3 ) throw runtime_error("tokenbid numtokens tokenid price\n"); numtokens = atoi(params[0].get_str().c_str());