From 204465d24847eddcaef89be3b503dc96bb98932c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=97=E5=AE=87?= Date: Wed, 10 Aug 2022 06:23:23 +0800 Subject: [PATCH] Fix doc build. --- src/blockchain/rpc.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/blockchain/rpc.rs b/src/blockchain/rpc.rs index af34186ac7..b11737e5aa 100644 --- a/src/blockchain/rpc.rs +++ b/src/blockchain/rpc.rs @@ -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); //! ``` @@ -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(())