From: rajarshimaitra Date: Wed, 24 Nov 2021 15:19:17 +0000 (+0530) Subject: Remove redundant wallet options X-Git-Tag: v0.4.0~8^2~2 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/scripts/timestamp.html?a=commitdiff_plain;h=808dd7cfe05f638e576711e12b9dab8e88c6279f;p=bdk-cli Remove redundant wallet options --- diff --git a/src/lib.rs b/src/lib.rs index 0959af2..4d34fec 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1549,12 +1549,6 @@ mod test { proxy_auth: None, retries: 3, }, - #[cfg(feature = "rpc")] - rpc_opts: RpcOpts { - address: "127.0.0.1:18443".to_string(), - auth: ("user".to_string(), "password".to_string()), - skip_blocks: None, - } }, subcommand: WalletSubCommand::OfflineWalletSubCommand(GetNewAddress), }, @@ -1664,29 +1658,6 @@ mod test { verbose: false, descriptor: "wpkh(xpubDEnoLuPdBep9bzw5LoGYpsxUQYheRQ9gcgrJhJEcdKFB9cWQRyYmkCyRoTqeD4tJYiVVgt6A3rN6rWn9RYhR9sBsGxji29LYWHuKKbdb1ev/0/*)".to_string(), change_descriptor: Some("wpkh(xpubDEnoLuPdBep9bzw5LoGYpsxUQYheRQ9gcgrJhJEcdKFB9cWQRyYmkCyRoTqeD4tJYiVVgt6A3rN6rWn9RYhR9sBsGxji29LYWHuKKbdb1ev/1/*)".to_string()), - #[cfg(feature = "electrum")] - electrum_opts: ElectrumOpts { - timeout: None, - server: "ssl://electrum.blockstream.info:60002".to_string(), - }, - #[cfg(feature = "esplora")] - esplora_opts: EsploraOpts { - server: "https://blockstream.info/api/".to_string(), - concurrency: 5, - }, - #[cfg(feature = "compact_filters")] - compactfilter_opts: CompactFilterOpts{ - address: vec!["127.0.0.1:18444".to_string()], - skip_blocks: 0, - conn_count: 4, - }, - #[cfg(any(feature="compact_filters", feature="electrum"))] - proxy_opts: ProxyOpts{ - proxy: None, - proxy_auth: None, - retries: 5, - }, - #[cfg(feature = "rpc")] rpc_opts: RpcOpts { address: "125.67.89.101:56678".to_string(), auth: ("user".to_string(), "password".to_string()),