Remove dead code

pull/325/head
Thomas Eizinger 3 years ago
parent 16dfea035b
commit f49f8977d3
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96

@ -588,18 +588,6 @@ impl State6 {
Ok(())
}
pub async fn wait_for_cancel_timelock_to_expire(
&self,
bitcoin_wallet: &bitcoin::Wallet,
) -> Result<()> {
bitcoin_wallet
.watch_until_status(&self.tx_lock, |status| {
status.is_confirmed_with(self.cancel_timelock)
})
.await?;
Ok(())
}
pub fn tx_lock_id(&self) -> bitcoin::Txid {
self.tx_lock.txid()
}

Loading…
Cancel
Save