Minor cleanups
This commit is contained in:
parent
719c117f1c
commit
4e50b700e9
|
@ -888,7 +888,7 @@ UniValue getblocksubsidy(const UniValue& params, bool fHelp)
|
||||||
" \"recipient\" : \"...\", (string) A description of the funding stream recipient.\n"
|
" \"recipient\" : \"...\", (string) A description of the funding stream recipient.\n"
|
||||||
" \"specification\" : \"url\", (string) A URL for the specification of this funding stream.\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"
|
" \"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"
|
" \"pubKey\" : (json object) CScript or Sapling address of the funding stream recipient.\n"
|
||||||
" }, ...\n"
|
" }, ...\n"
|
||||||
" ]\n"
|
" ]\n"
|
||||||
|
|
|
@ -317,8 +317,6 @@ BOOST_AUTO_TEST_CASE(rpc_wallet)
|
||||||
BOOST_CHECK(!obj.exists("fundingstreams"));
|
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) {
|
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();
|
size_t n = recipients.size();
|
||||||
BOOST_REQUIRE_EQUAL(amounts.size(), n);
|
BOOST_REQUIRE_EQUAL(amounts.size(), n);
|
||||||
UniValue fundingstreams = find_value(obj, "fundingstreams");
|
UniValue fundingstreams = find_value(obj, "fundingstreams");
|
||||||
|
|
Loading…
Reference in New Issue