This enables the skipped type check for sendmany
and fixes the resulting error.
Also, there is an unrelated test-only commit.
This enables the skipped type check for sendmany
and fixes the resulting error.
Also, there is an unrelated test-only commit.
Rendered diff:
0diff --git a/sendmany b/sendmany
1index 67f8189..6698a7d 100644
2--- a/sendmany
3+++ b/sendmany
4@@ -1,10 +1,10 @@
5-sendmany "" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode" fee_rate verbose )
6+sendmany ( "" ) {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode" fee_rate verbose )
7
8 Send multiple times. Amounts are double-precision floating point numbers.
9 Requires wallet passphrase to be set with walletpassphrase call if wallet is encrypted.
10
11 Arguments:
12-1. dummy (string, required) Must be set to "" for backwards compatibility.
13+1. dummy (string, optional, default="\"\"") Must be set to "" for backwards compatibility.
14 2. amounts (json object, required) The addresses and amounts
15 {
16 "address": amount, (numeric or string, required) The bitcoin address is the key, the numeric amount (can be string) in BTC is the value
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
See the guideline for information on the review process.
Type | Reviewers |
---|---|
ACK | fanquake |
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
This enables the type check and fixes the wrong docs.
Otherwise the enabled check would lead to test errors, such as:
> "wallet_labels.py", line 96, in run_test
> node.sendmany(
>
> test_framework.authproxy.JSONRPCException:
> JSON value of type null is not of expected type string (-3)