From: Steve Myers Date: Sat, 12 Feb 2022 17:21:53 +0000 (-0800) Subject: Fix docs test for WalletOpts X-Git-Tag: v0.4.0~2^2 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/enum.HexToArrayError.html?a=commitdiff_plain;h=1ab2b0ffc780defa913ec9ce2dc021b355c2aeb3;p=bdk-cli Fix docs test for WalletOpts --- diff --git a/src/lib.rs b/src/lib.rs index 91ad841..99e8527 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -426,8 +426,9 @@ let expected_wallet_opts = WalletOpts { #[cfg(feature = "rpc")] rpc_opts: RpcOpts{ address: "127.0.0.1:18443".to_string(), - auth: ("user".to_string(), "password".to_string()), + basic_auth: ("user".to_string(), "password".to_string()), skip_blocks: None, + cookie: None, }, #[cfg(any(feature="compact_filters", feature="electrum", feature="esplora"))] proxy_opts: ProxyOpts{