Remove misplaced sync wallet call

This commit is contained in:
rishflab 2021-02-17 10:56:10 +11:00
parent 7a9569ffd4
commit 00e2b257c4

View File

@ -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(),