Remove misplaced sync wallet call

pull/206/head
rishflab 3 years ago
parent 7a9569ffd4
commit 00e2b257c4

@ -119,7 +119,6 @@ impl BuildTxLockPsbt for Wallet {
output_amount: Amount,
) -> Result<PartiallySignedTransaction> {
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(),

Loading…
Cancel
Save