Skip to content

Commit

Permalink
Fix doc build.
Browse files Browse the repository at this point in the history
  • Loading branch information
evanlinjin committed Aug 9, 2022
1 parent 9aa08ed commit 204465d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/blockchain/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
//! network: bdk::bitcoin::Network::Testnet,
//! wallet_name: "wallet_name".to_string(),
//! sync_params: None,
//! max_tries: 3,
//! };
//! let blockchain = RpcBlockchain::from_config(&config);
//! ```
Expand Down Expand Up @@ -903,6 +904,7 @@ fn descriptor_from_script_pubkey(script: &Script) -> String {
/// wallet_name_prefix: Some("prefix-".to_string()),
/// default_skip_blocks: 100_000,
/// sync_params: None,
/// max_tries: 3,
/// };
/// let main_wallet_blockchain = factory.build("main_wallet", Some(200_000))?;
/// # Ok(())
Expand Down

0 comments on commit 204465d

Please sign in to comment.