File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lightning-transaction-sync/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 99
99
while let Some ( _) = self . client . block_headers_pop ( ) ? { }
100
100
101
101
let tip_notification = self . client . block_headers_subscribe ( ) ?;
102
- let mut tip_header = tip_notification. header ;
102
+ let tip_header = tip_notification. header ;
103
103
let mut tip_height = tip_notification. height as u32 ;
104
104
105
105
loop {
@@ -524,7 +524,7 @@ where
524
524
fn get_confirmed_tx (
525
525
& self , tx : & Transaction , prob_conf_height : u32 ,
526
526
) -> Result < ConfirmedTx , InternalError > {
527
- let txid = tx. txid ( ) ;
527
+ let txid = tx. compute_txid ( ) ;
528
528
match self . client . transaction_get_merkle (
529
529
& electrum_client:: bitcoin:: Txid :: from_slice ( txid. as_ref ( ) ) . unwrap ( ) ,
530
530
prob_conf_height as usize ,
You can’t perform that action at this time.
0 commit comments