Skip to content

Commit bbbc26d

Browse files
committed
Merge bitcoin/bitcoin#25924: scripted-diff: rpc: fix rescan RPC name (s/rescanwallet/rescanblockchain/)
e90a445 scripted-diff: rpc: fix rescan RPC name (s/rescanwallet/rescanblockchain/) (Sebastian Falbesoner) Pull request description: There is no RPC call named `rescanwallet`, i.e. fix this by renaming to the actual RPC called `rescanblockchain`. ACKs for top commit: achow101: ACK e90a445 aureleoules: ACK e90a445. promag: ACK e90a445 Tree-SHA512: abf1d1c18de32d87c29e4ff2b782dfb0e4a46dc2c2cc51ab616d12674a0f4a5d22214e00955663ae897cbb88f4f6ced913850f28ea3f5c1b3a54577a25fbf399
2 parents ba2edca + e90a445 commit bbbc26d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/wallet/rpc/backup.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ RPCHelpMan importprivkey()
101101
"\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n"
102102
"may report that the imported key exists but related transactions are still missing, leading to temporarily incorrect/bogus balances and unspent outputs until rescan completes.\n"
103103
"The rescan parameter can be set to false if the key was never used to create transactions. If it is set to false,\n"
104-
"but the key was used to create transactions, rescanwallet needs to be called with the appropriate block range.\n"
104+
"but the key was used to create transactions, rescanblockchain needs to be called with the appropriate block range.\n"
105105
"Note: Use \"getwalletinfo\" to query the scanning progress.\n",
106106
{
107107
{"privkey", RPCArg::Type::STR, RPCArg::Optional::NO, "The private key (see dumpprivkey)"},
@@ -204,7 +204,7 @@ RPCHelpMan importaddress()
204204
"\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n"
205205
"may report that the imported address exists but related transactions are still missing, leading to temporarily incorrect/bogus balances and unspent outputs until rescan completes.\n"
206206
"The rescan parameter can be set to false if the key was never used to create transactions. If it is set to false,\n"
207-
"but the key was used to create transactions, rescanwallet needs to be called with the appropriate block range.\n"
207+
"but the key was used to create transactions, rescanblockchain needs to be called with the appropriate block range.\n"
208208
"If you have the full public key, you should call importpubkey instead of this.\n"
209209
"Hint: use importmulti to import more than one address.\n"
210210
"\nNote: If you import a non-standard raw script in hex form, outputs sending to it will be treated\n"
@@ -406,7 +406,7 @@ RPCHelpMan importpubkey()
406406
"\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n"
407407
"may report that the imported pubkey exists but related transactions are still missing, leading to temporarily incorrect/bogus balances and unspent outputs until rescan completes.\n"
408408
"The rescan parameter can be set to false if the key was never used to create transactions. If it is set to false,\n"
409-
"but the key was used to create transactions, rescanwallet needs to be called with the appropriate block range.\n"
409+
"but the key was used to create transactions, rescanblockchain needs to be called with the appropriate block range.\n"
410410
"Note: Use \"getwalletinfo\" to query the scanning progress.\n",
411411
{
412412
{"pubkey", RPCArg::Type::STR, RPCArg::Optional::NO, "The hex-encoded public key"},
@@ -1257,7 +1257,7 @@ RPCHelpMan importmulti()
12571257
"\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n"
12581258
"may report that the imported keys, addresses or scripts exist but related transactions are still missing.\n"
12591259
"The rescan parameter can be set to false if the key was never used to create transactions. If it is set to false,\n"
1260-
"but the key was used to create transactions, rescanwallet needs to be called with the appropriate block range.\n"
1260+
"but the key was used to create transactions, rescanblockchain needs to be called with the appropriate block range.\n"
12611261
"Note: Use \"getwalletinfo\" to query the scanning progress.\n",
12621262
{
12631263
{"requests", RPCArg::Type::ARR, RPCArg::Optional::NO, "Data to be imported",

0 commit comments

Comments
 (0)