Skip to content

Commit 34ca17e

Browse files
committed
f Inline SyncOptions
1 parent cebad4b commit 34ca17e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/wallet.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,8 @@ where
9999
}
100100

101101
let res = {
102-
let sync_options = SyncOptions { progress: None };
103102
let wallet_lock = self.inner.lock().unwrap();
104-
match wallet_lock.sync(&self.blockchain, sync_options).await {
103+
match wallet_lock.sync(&self.blockchain, SyncOptions { progress: None }).await {
105104
Ok(()) => {
106105
// TODO: Drop this workaround after BDK 1.0 upgrade.
107106
// Update balance cache after syncing.

0 commit comments

Comments
 (0)