We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
timeout_fut
1 parent b2ebde9 commit a5059f1Copy full SHA for a5059f1
src/wallet.rs
@@ -101,12 +101,12 @@ where
101
let res = {
102
let wallet_lock = self.inner.lock().unwrap();
103
104
- let timeout_fut = tokio::time::timeout(
+ let wallet_sync_timeout_fut = tokio::time::timeout(
105
Duration::from_secs(BDK_WALLET_SYNC_TIMEOUT_SECS),
106
wallet_lock.sync(&self.blockchain, SyncOptions { progress: None }),
107
);
108
109
- match timeout_fut.await {
+ match wallet_sync_timeout_fut.await {
110
Ok(res) => match res {
111
Ok(()) => {
112
// TODO: Drop this workaround after BDK 1.0 upgrade.
0 commit comments