File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
7979 std:: process:: exit ( 0 ) ;
8080 }
8181
82- let faucet_address = Address :: from_str ( "mkHS9ne12qx9pS9VojpwU5xtRd4T7X7ZUt" ) ?;
82+ let faucet_address = Address :: from_str ( "mkHS9ne12qx9pS9VojpwU5xtRd4T7X7ZUt" ) ?
83+ . require_network ( Network :: Testnet ) ?;
8384
8485 let mut tx_builder = wallet. build_tx ( ) ;
8586 tx_builder
Original file line number Diff line number Diff line change @@ -79,7 +79,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
7979 std:: process:: exit ( 0 ) ;
8080 }
8181
82- let faucet_address = Address :: from_str ( "mkHS9ne12qx9pS9VojpwU5xtRd4T7X7ZUt" ) ?;
82+ let faucet_address = Address :: from_str ( "mkHS9ne12qx9pS9VojpwU5xtRd4T7X7ZUt" ) ?
83+ . require_network ( Network :: Testnet ) ?;
8384
8485 let mut tx_builder = wallet. build_tx ( ) ;
8586 tx_builder
You can’t perform that action at this time.
0 commit comments