From fa1f10a49e7c4f6377fbc7ae2f1520b38c86e5fa Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Thu, 15 May 2025 16:10:29 +0200 Subject: [PATCH] doc: Fix minor typos in rpc help --- src/rpc/output_script.cpp | 4 ++-- src/wallet/rpc/backup.cpp | 2 +- src/wallet/rpc/encrypt.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/rpc/output_script.cpp b/src/rpc/output_script.cpp index 398154901c..43624c98ea 100644 --- a/src/rpc/output_script.cpp +++ b/src/rpc/output_script.cpp @@ -89,10 +89,10 @@ static RPCHelpMan createmultisig() { return RPCHelpMan{ "createmultisig", - "Creates a multi-signature address with n signature of m keys required.\n" + "Creates a multi-signature address with n signatures of m keys required.\n" "It returns a json object with the address and redeemScript.\n", { - {"nrequired", RPCArg::Type::NUM, RPCArg::Optional::NO, "The number of required signatures out of the n keys."}, + {"nrequired", RPCArg::Type::NUM, RPCArg::Optional::NO, "The number of required signatures out of the m keys."}, {"keys", RPCArg::Type::ARR, RPCArg::Optional::NO, "The hex-encoded public keys.", { {"key", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, "The hex-encoded public key"}, diff --git a/src/wallet/rpc/backup.cpp b/src/wallet/rpc/backup.cpp index c00a65f8d6..4bffc2a661 100644 --- a/src/wallet/rpc/backup.cpp +++ b/src/wallet/rpc/backup.cpp @@ -302,7 +302,7 @@ RPCHelpMan importdescriptors() return RPCHelpMan{ "importdescriptors", "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" - "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" + "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" "\nNote: This call can take over an hour to complete if using an early timestamp; during that time, other rpc calls\n" "may report that the imported keys, addresses or scripts exist but related transactions are still missing.\n" "The rescan is significantly faster if block filters are available (using startup option \"-blockfilterindex=1\").\n", diff --git a/src/wallet/rpc/encrypt.cpp b/src/wallet/rpc/encrypt.cpp index b761fc8d36..7863708573 100644 --- a/src/wallet/rpc/encrypt.cpp +++ b/src/wallet/rpc/encrypt.cpp @@ -221,8 +221,8 @@ RPCHelpMan encryptwallet() return RPCHelpMan{ "encryptwallet", "Encrypts the wallet with 'passphrase'. This is for first time encryption.\n" - "After this, any calls that interact with private keys such as sending or signing \n" - "will require the passphrase to be set prior the making these calls.\n" + "After this, any calls that interact with private keys such as sending or signing \n" + "will require the passphrase to be set prior to making these calls.\n" "Use the walletpassphrase call for this, and then walletlock call.\n" "If the wallet is already encrypted, use the walletpassphrasechange call.\n" "** IMPORTANT **\n"