Skip to content

Commit

Permalink
Update wallet_electrum to rust-bitcoin 0.30.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danielabrozzoni committed Aug 3, 2023
1 parent 3dac3f9 commit b73385d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example-crates/wallet_electrum/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
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
Expand Down

0 comments on commit b73385d

Please sign in to comment.