From 6a3e4802f1a2b0a72646499b485c3841532dbbb6 Mon Sep 17 00:00:00 2001 From: rishflab Date: Thu, 11 Mar 2021 17:53:40 +1100 Subject: [PATCH] Remove redundant reference --- swap/src/protocol/alice/steps.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swap/src/protocol/alice/steps.rs b/swap/src/protocol/alice/steps.rs index a0e619c8..f50b6e22 100644 --- a/swap/src/protocol/alice/steps.rs +++ b/swap/src/protocol/alice/steps.rs @@ -123,7 +123,7 @@ pub async fn publish_cancel_transaction( let tx_lock_height = bitcoin_wallet .transaction_block_height(tx_lock.txid()) .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);