]> Untitled Git - bdk-cli/commitdiff
Fix docs test for WalletOpts
authorSteve Myers <steve@notmandatory.org>
Sat, 12 Feb 2022 17:21:53 +0000 (09:21 -0800)
committerSteve Myers <steve@notmandatory.org>
Sat, 12 Feb 2022 17:21:53 +0000 (09:21 -0800)
src/lib.rs

index 91ad841a97e8253287011e306c98b065d667f71a..99e85275693c8c91da097390e109e8e15b6f04dc 100644 (file)
@@ -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{