Skip to content

Commit 5f55e62

Browse files
committed
Improve create_wallet_with_descriptors rustdocs
Add a comment to the docs describing why this function is needed.
1 parent 2713fc3 commit 5f55e62

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

client/src/client_sync/v21/wallet.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
//! See or use the `define_jsonrpc_minreq_client!` macro to define a `Client`.
1111
1212
/// Implements Bitcoin Core JSON-RPC API method `createwallet` with descriptors=true (descriptor wallet)
13+
///
14+
/// This is a helper function only needed in v21 and v22 to create a wallet with descriptors.
15+
/// From v23 onwards descriptors=true is the default.
1316
#[macro_export]
1417
macro_rules! impl_client_v21__create_wallet_with_descriptors {
1518
() => {

0 commit comments

Comments
 (0)