Remove redundant reference

This commit is contained in:
rishflab 2021-03-11 17:53:40 +11:00 committed by Thomas Eizinger
parent 458a8d594a
commit 6a3e4802f1
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96

View File

@ -123,7 +123,7 @@ pub async fn publish_cancel_transaction(
let tx_lock_height = bitcoin_wallet let tx_lock_height = bitcoin_wallet
.transaction_block_height(tx_lock.txid()) .transaction_block_height(tx_lock.txid())
.await?; .await?;
poll_until_block_height_is_gte(&bitcoin_wallet, tx_lock_height + cancel_timelock).await?; poll_until_block_height_is_gte(bitcoin_wallet, tx_lock_height + cancel_timelock).await?;
let tx_cancel = bitcoin::TxCancel::new(&tx_lock, cancel_timelock, a.public(), B); let tx_cancel = bitcoin::TxCancel::new(&tx_lock, cancel_timelock, a.public(), B);