We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a45f037 commit 66c969aCopy full SHA for 66c969a
lightning-transaction-sync/src/electrum.rs
@@ -99,7 +99,7 @@ where
99
while let Some(_) = self.client.block_headers_pop()? {}
100
101
let tip_notification = self.client.block_headers_subscribe()?;
102
- let mut tip_header = tip_notification.header;
+ let tip_header = tip_notification.header;
103
let mut tip_height = tip_notification.height as u32;
104
105
loop {
@@ -524,7 +524,7 @@ where
524
fn get_confirmed_tx(
525
&self, tx: &Transaction, prob_conf_height: u32,
526
) -> Result<ConfirmedTx, InternalError> {
527
- let txid = tx.txid();
+ let txid = tx.compute_txid();
528
match self.client.transaction_get_merkle(
529
&electrum_client::bitcoin::Txid::from_slice(txid.as_ref()).unwrap(),
530
prob_conf_height as usize,
0 commit comments