File tree 3 files changed +3
-3
lines changed
wallet_esplora_blocking/src
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ fn main() -> Result<(), anyhow::Error> {
94
94
95
95
let tx = psbt. extract_tx ( ) ?;
96
96
client. transaction_broadcast ( & tx) ?;
97
- println ! ( "Tx broadcasted! Txid: {}" , tx. txid ( ) ) ;
97
+ println ! ( "Tx broadcasted! Txid: {}" , tx. compute_txid ( ) ) ;
98
98
99
99
Ok ( ( ) )
100
100
}
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ async fn main() -> Result<(), anyhow::Error> {
103
103
104
104
let tx = psbt. extract_tx ( ) ?;
105
105
client. broadcast ( & tx) . await ?;
106
- println ! ( "Tx broadcasted! Txid: {}" , tx. txid ( ) ) ;
106
+ println ! ( "Tx broadcasted! Txid: {}" , tx. compute_txid ( ) ) ;
107
107
108
108
Ok ( ( ) )
109
109
}
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ fn main() -> Result<(), anyhow::Error> {
80
80
81
81
let tx = psbt. extract_tx ( ) ?;
82
82
client. broadcast ( & tx) ?;
83
- println ! ( "Tx broadcasted! Txid: {}" , tx. txid ( ) ) ;
83
+ println ! ( "Tx broadcasted! Txid: {}" , tx. compute_txid ( ) ) ;
84
84
85
85
Ok ( ( ) )
86
86
}
You can’t perform that action at this time.
0 commit comments