Skip to content

Commit a5059f1

Browse files
committed
f Rename timeout_fut
1 parent b2ebde9 commit a5059f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wallet.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ where
101101
let res = {
102102
let wallet_lock = self.inner.lock().unwrap();
103103

104-
let timeout_fut = tokio::time::timeout(
104+
let wallet_sync_timeout_fut = tokio::time::timeout(
105105
Duration::from_secs(BDK_WALLET_SYNC_TIMEOUT_SECS),
106106
wallet_lock.sync(&self.blockchain, SyncOptions { progress: None }),
107107
);
108108

109-
match timeout_fut.await {
109+
match wallet_sync_timeout_fut.await {
110110
Ok(res) => match res {
111111
Ok(()) => {
112112
// TODO: Drop this workaround after BDK 1.0 upgrade.

0 commit comments

Comments
 (0)