From b73385dbd2e4c46d0553fa6990e564743b705507 Mon Sep 17 00:00:00 2001 From: Daniela Brozzoni Date: Wed, 28 Jun 2023 15:13:22 +0200 Subject: [PATCH] Update wallet_electrum to rust-bitcoin 0.30.0 --- example-crates/wallet_electrum/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example-crates/wallet_electrum/src/main.rs b/example-crates/wallet_electrum/src/main.rs index 2355a6fb0..fdc324f02 100644 --- a/example-crates/wallet_electrum/src/main.rs +++ b/example-crates/wallet_electrum/src/main.rs @@ -73,7 +73,8 @@ fn main() -> Result<(), Box> { std::process::exit(0); } - let faucet_address = Address::from_str("mkHS9ne12qx9pS9VojpwU5xtRd4T7X7ZUt")?; + let faucet_address = Address::from_str("mkHS9ne12qx9pS9VojpwU5xtRd4T7X7ZUt")? + .require_network(Network::Testnet)?; let mut tx_builder = wallet.build_tx(); tx_builder