Skip to content

Commit b73385d

Browse files
Update wallet_electrum to rust-bitcoin 0.30.0
1 parent 3dac3f9 commit b73385d

File tree

1 file changed

+2
-1
lines changed
  • example-crates/wallet_electrum/src

1 file changed

+2
-1
lines changed

example-crates/wallet_electrum/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
7373
std::process::exit(0);
7474
}
7575

76-
let faucet_address = Address::from_str("mkHS9ne12qx9pS9VojpwU5xtRd4T7X7ZUt")?;
76+
let faucet_address = Address::from_str("mkHS9ne12qx9pS9VojpwU5xtRd4T7X7ZUt")?
77+
.require_network(Network::Testnet)?;
7778

7879
let mut tx_builder = wallet.build_tx();
7980
tx_builder

0 commit comments

Comments
 (0)