Skip to content

Commit fa1f10a

Browse files
author
MarcoFalke
committed
doc: Fix minor typos in rpc help
1 parent fae840e commit fa1f10a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/rpc/output_script.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ static RPCHelpMan createmultisig()
8989
{
9090
return RPCHelpMan{
9191
"createmultisig",
92-
"Creates a multi-signature address with n signature of m keys required.\n"
92+
"Creates a multi-signature address with n signatures of m keys required.\n"
9393
"It returns a json object with the address and redeemScript.\n",
9494
{
95-
{"nrequired", RPCArg::Type::NUM, RPCArg::Optional::NO, "The number of required signatures out of the n keys."},
95+
{"nrequired", RPCArg::Type::NUM, RPCArg::Optional::NO, "The number of required signatures out of the m keys."},
9696
{"keys", RPCArg::Type::ARR, RPCArg::Optional::NO, "The hex-encoded public keys.",
9797
{
9898
{"key", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, "The hex-encoded public key"},

src/wallet/rpc/backup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ RPCHelpMan importdescriptors()
302302
return RPCHelpMan{
303303
"importdescriptors",
304304
"Import descriptors. This will trigger a rescan of the blockchain based on the earliest timestamp of all descriptors being imported. Requires a new wallet backup.\n"
305-
"When importing descriptors with multipath key expressions, if the multipath specifier contains exactly two elements, the descriptor produced from the second elements will be imported as an internal descriptor.\n"
305+
"When importing descriptors with multipath key expressions, if the multipath specifier contains exactly two elements, the descriptor produced from the second element will be imported as an internal descriptor.\n"
306306
"\nNote: This call can take over an hour to complete if using an early timestamp; during that time, other rpc calls\n"
307307
"may report that the imported keys, addresses or scripts exist but related transactions are still missing.\n"
308308
"The rescan is significantly faster if block filters are available (using startup option \"-blockfilterindex=1\").\n",

src/wallet/rpc/encrypt.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ RPCHelpMan encryptwallet()
221221
return RPCHelpMan{
222222
"encryptwallet",
223223
"Encrypts the wallet with 'passphrase'. This is for first time encryption.\n"
224-
"After this, any calls that interact with private keys such as sending or signing \n"
225-
"will require the passphrase to be set prior the making these calls.\n"
224+
"After this, any calls that interact with private keys such as sending or signing \n"
225+
"will require the passphrase to be set prior to making these calls.\n"
226226
"Use the walletpassphrase call for this, and then walletlock call.\n"
227227
"If the wallet is already encrypted, use the walletpassphrasechange call.\n"
228228
"** IMPORTANT **\n"

0 commit comments

Comments
 (0)