From 4e50b700e9593d8fe120a5684bb9229bd1aacb12 Mon Sep 17 00:00:00 2001 From: therealyingtong Date: Sat, 17 Oct 2020 03:13:19 +0800 Subject: [PATCH] Minor cleanups --- src/rpc/mining.cpp | 2 +- src/wallet/test/rpc_wallet_tests.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 2d07728fa..f6c55620e 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -888,7 +888,7 @@ UniValue getblocksubsidy(const UniValue& params, bool fHelp) " \"recipient\" : \"...\", (string) A description of the funding stream recipient.\n" " \"specification\" : \"url\", (string) A URL for the specification of this funding stream.\n" " \"value\" : x.xxx (numeric) The funding stream amount in " + CURRENCY_UNIT + ".\n" - " \"valueZat\" : x.xxx (numeric) The funding stream amount in " + MINOR_CURRENCY_UNIT + ".\n" + " \"valueZat\" : xxxx (numeric) The funding stream amount in " + MINOR_CURRENCY_UNIT + ".\n" " \"pubKey\" : (json object) CScript or Sapling address of the funding stream recipient.\n" " }, ...\n" " ]\n" diff --git a/src/wallet/test/rpc_wallet_tests.cpp b/src/wallet/test/rpc_wallet_tests.cpp index c8e5eed56..792b5c16e 100644 --- a/src/wallet/test/rpc_wallet_tests.cpp +++ b/src/wallet/test/rpc_wallet_tests.cpp @@ -317,8 +317,6 @@ BOOST_AUTO_TEST_CASE(rpc_wallet) BOOST_CHECK(!obj.exists("fundingstreams")); auto check_funding_streams = [](UniValue obj, std::vector recipients, std::vector amounts, std::vector addresses) { - KeyIO keyIO(Params()); - size_t n = recipients.size(); BOOST_REQUIRE_EQUAL(amounts.size(), n); UniValue fundingstreams = find_value(obj, "fundingstreams");