mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Remove misplaced sync wallet call
This commit is contained in:
parent
7a9569ffd4
commit
00e2b257c4
@ -119,7 +119,6 @@ impl BuildTxLockPsbt for Wallet {
|
|||||||
output_amount: Amount,
|
output_amount: Amount,
|
||||||
) -> Result<PartiallySignedTransaction> {
|
) -> Result<PartiallySignedTransaction> {
|
||||||
tracing::debug!("building tx lock");
|
tracing::debug!("building tx lock");
|
||||||
self.sync_wallet().await?;
|
|
||||||
let (psbt, _details) = self.inner.lock().await.create_tx(
|
let (psbt, _details) = self.inner.lock().await.create_tx(
|
||||||
bdk::TxBuilder::with_recipients(vec![(
|
bdk::TxBuilder::with_recipients(vec![(
|
||||||
output_address.script_pubkey(),
|
output_address.script_pubkey(),
|
||||||
|
Loading…
Reference in New Issue
Block a user