File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ use bitcoin::address::NetworkUnchecked;
3434use bitcoin:: hashes:: Hash ;
3535use bitcoin:: Address ;
3636use bitcoin:: Amount ;
37- use lightning_invoice:: { Bolt11InvoiceDescription , Description } ;
3837use log:: LevelFilter ;
3938
4039use std:: str:: FromStr ;
@@ -305,6 +304,7 @@ fn onchain_send_receive() {
305304
306305 let addr_a = node_a. onchain_payment ( ) . new_address ( ) . unwrap ( ) ;
307306 let addr_b = node_b. onchain_payment ( ) . new_address ( ) . unwrap ( ) ;
307+ // This is a Bitcoin Testnet address. Sending funds to this address from the Regtest network will fail
308308 let static_address = "tb1q0d40e5rta4fty63z64gztf8c3v20cvet6v2jdh" ;
309309 let unchecked_address = Address :: < NetworkUnchecked > :: from_str ( static_address) . unwrap ( ) ;
310310 let addr_c = unchecked_address. assume_checked ( ) ;
You can’t perform that action at this time.
0 commit comments