From 00e2b257c436fab0c5ebf1bbe2964e42fcfe470a Mon Sep 17 00:00:00 2001 From: rishflab Date: Wed, 17 Feb 2021 10:56:10 +1100 Subject: [PATCH] Remove misplaced sync wallet call --- swap/src/bitcoin/wallet.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/swap/src/bitcoin/wallet.rs b/swap/src/bitcoin/wallet.rs index 7b590007..c7574f84 100644 --- a/swap/src/bitcoin/wallet.rs +++ b/swap/src/bitcoin/wallet.rs @@ -119,7 +119,6 @@ impl BuildTxLockPsbt for Wallet { output_amount: Amount, ) -> Result { tracing::debug!("building tx lock"); - self.sync_wallet().await?; let (psbt, _details) = self.inner.lock().await.create_tx( bdk::TxBuilder::with_recipients(vec![( output_address.script_pubkey(),