Skip to content

Commit 3154f28

Browse files
MacroFakeClaude Code
authored andcommitted
doc: Fix typo in importdescriptors
Backport of bitcoin#25276 Fixes typo 'desccriptor' -> 'descriptor' in documentation example and updates label to be more descriptive ('my bech32 wallet')
1 parent 7325e06 commit 3154f28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wallet/rpc/backup.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,8 +1837,8 @@ RPCHelpMan importdescriptors() {
18371837
},
18381838
RPCExamples{
18391839
HelpExampleCli("importdescriptors", "'[{ \"desc\": \"<my descriptor>\", \"timestamp\":1455191478, \"internal\": true }, "
1840-
"{ \"desc\": \"<my desccriptor 2>\", \"label\": \"example 2\", \"timestamp\": 1455191480 }]'") +
1841-
HelpExampleCli("importdescriptors", "'[{ \"desc\": \"<my descriptor>\", \"timestamp\":1455191478, \"active\": true, \"range\": [0,100], \"label\": \"<my wallet>\" }]'")
1840+
"{ \"desc\": \"<my descriptor 2>\", \"label\": \"example 2\", \"timestamp\": 1455191480 }]'") +
1841+
HelpExampleCli("importdescriptors", "'[{ \"desc\": \"<my descriptor>\", \"timestamp\":1455191478, \"active\": true, \"range\": [0,100], \"label\": \"<my bech32 wallet>\" }]'")
18421842
},
18431843
[&](const RPCHelpMan& self, const JSONRPCRequest& main_request) -> UniValue
18441844
{

0 commit comments

Comments
 (0)