aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpcwallet.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <[email protected]>2017-05-24 16:15:26 -0400
committerRussell Yanofsky <[email protected]>2017-05-24 16:15:26 -0400
commit1b6602fbe66c0205acd4a33b9183080ec500fc72 (patch)
treee6bf3a0beb38c7f4043484a73e5eacf8465db1d6 /src/wallet/rpcwallet.cpp
parentMerge #9539: [net] Avoid initialization to a value that is never read (diff)
downloaddiscoin-1b6602fbe66c0205acd4a33b9183080ec500fc72.tar.xz
discoin-1b6602fbe66c0205acd4a33b9183080ec500fc72.zip
Fix bumpfee rpc "errors" return value
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r--src/wallet/rpcwallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp
index ae4f4f37c..0860d3565 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpcwallet.cpp
@@ -2909,7 +2909,7 @@ UniValue bumpfee(const JSONRPCRequest& request)
UniValue errors(UniValue::VARR);
for (const std::string& err: feeBump.getErrors())
errors.push_back(err);
- result.push_back(errors);
+ result.push_back(Pair("errors", errors));
return result;
}