Skip to content

Commit

Permalink
Minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
therealyingtong committed Oct 16, 2020
1 parent 719c117 commit 4e50b70
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/rpc/mining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions src/wallet/test/rpc_wallet_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 4e50b70

Please sign in to comment.