diff options
| author | MarcoFalke <[email protected]> | 2018-12-05 11:43:55 -0500 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-12-10 14:08:20 -0500 |
| commit | fa9a5bc1a0748afdc226f00abfd4f9e5df6d9139 (patch) | |
| tree | 9e3a5bca67f3b2c278c071fa1c202feda6d4e04c /src/rpc/mining.cpp | |
| parent | Merge #14877: rpc: Document default values for optional arguments (diff) | |
| download | discoin-fa9a5bc1a0748afdc226f00abfd4f9e5df6d9139.tar.xz discoin-fa9a5bc1a0748afdc226f00abfd4f9e5df6d9139.zip | |
RPCHelpMan: Support required arguments after optional ones
Diffstat (limited to 'src/rpc/mining.cpp')
| -rw-r--r-- | src/rpc/mining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 93fa3a272..29684d0e6 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -241,7 +241,7 @@ static UniValue prioritisetransaction(const JSONRPCRequest& request) "Accepts the transaction into mined blocks at a higher (or lower) priority\n", { {"txid", RPCArg::Type::STR_HEX, /* opt */ false, /* default_val */ "", "The transaction id."}, - {"dummy", RPCArg::Type::NUM, /* opt */ false, /* default_val */ "", "API-Compatibility for previous API. Must be zero or null.\n" + {"dummy", RPCArg::Type::NUM, /* opt */ true, /* default_val */ "null", "API-Compatibility for previous API. Must be zero or null.\n" " DEPRECATED. For forward compatibility use named arguments and omit this parameter."}, {"fee_delta", RPCArg::Type::NUM, /* opt */ false, /* default_val */ "", "The fee value (in satoshis) to add (or subtract, if negative).\n" " Note, that this value is not a fee rate. It is a value to modify absolute fee of the TX.\n" |