Skip to content

Commit f3c42cd

Browse files
MacroFakeclaude
authored andcommitted
Merge bitcoin#25276: doc: Fix typo in importdescriptors
Fixes typo 'desccriptor' -> 'descriptor' in documentation example and updates label to be more descriptive ('my bech32 wallet'). 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 7325e06 commit f3c42cd

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)