From 9e6c9706475ab56cad0feb6dd13fe0327b622b4c Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 23 Jul 2018 02:50:11 -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 2ae5e79da..91916d6a7 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4851,7 +4851,7 @@ UniValue faucetfund(const UniValue& params, bool fHelp) throw runtime_error("to use CC contracts, you need to launch daemon with valid -pubkey= for an address in your wallet\n"); funds = atof(params[0].get_str().c_str()) * COIN; hex = FaucetFund(0,funds); - if ( hex != 0 && hex.size() > 0 ) + if ( hex.size() > 0 ) { result.push_back(Pair("result", "success")); result.push_back(Pair("hex", hex));