importmulti options are optional
This commit is contained in:
parent
a70d025366
commit
999ef2073a
1 changed files with 1 additions and 1 deletions
|
@ -1028,7 +1028,7 @@ UniValue importmulti(const JSONRPCRequest& mainRequest)
|
||||||
// clang-format off
|
// clang-format off
|
||||||
if (mainRequest.fHelp || mainRequest.params.size() < 1 || mainRequest.params.size() > 2)
|
if (mainRequest.fHelp || mainRequest.params.size() < 1 || mainRequest.params.size() > 2)
|
||||||
throw std::runtime_error(
|
throw std::runtime_error(
|
||||||
"importmulti \"requests\" \"options\"\n\n"
|
"importmulti \"requests\" ( \"options\" )\n\n"
|
||||||
"Import addresses/scripts (with private or public keys, redeem script (P2SH)), rescanning all addresses in one-shot-only (rescan can be disabled via options).\n\n"
|
"Import addresses/scripts (with private or public keys, redeem script (P2SH)), rescanning all addresses in one-shot-only (rescan can be disabled via options).\n\n"
|
||||||
"Arguments:\n"
|
"Arguments:\n"
|
||||||
"1. requests (array, required) Data to be imported\n"
|
"1. requests (array, required) Data to be imported\n"
|
||||||
|
|
Loading…
Reference in a new issue