Minor cleanups

This commit is contained in:
therealyingtong 2020-10-17 03:13:19 +08:00
parent 719c117f1c
commit 4e50b700e9
2 changed files with 1 additions and 3 deletions

View File

@ -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"

View File

@ -317,8 +317,6 @@ BOOST_AUTO_TEST_CASE(rpc_wallet)
BOOST_CHECK(!obj.exists("fundingstreams"));
auto check_funding_streams = [](UniValue obj, std::vector<std::string> recipients, std::vector<double> amounts, std::vector<std::string> addresses) {
KeyIO keyIO(Params());
size_t n = recipients.size();
BOOST_REQUIRE_EQUAL(amounts.size(), n);
UniValue fundingstreams = find_value(obj, "fundingstreams");