From 117874698cd260beaf31ae0187ade80a2d98f510 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 27 Jul 2018 02:40:32 -1100 Subject: [PATCH] Fix funding name --- 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 3678b25e0..fee15e0f9 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4968,7 +4968,7 @@ UniValue rewardscreatefunding(const UniValue& params, bool fHelp) APR = 5 * COIN; minseconds = maxseconds = 60 * 3600 * 24; mindeposit = 100 * COIN; - name = (char *)params[1].get_str().c_str(); + name = (char *)params[0].get_str().c_str(); funds = atof(params[1].get_str().c_str()) * COIN; if ( params.size() > 2 ) {