mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-11-19 09:25:33 +00:00
Remove redundant reference
This commit is contained in:
parent
458a8d594a
commit
6a3e4802f1
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user