mirror of
https://github.com/fullstack-cash/fullstack-gatsby-theme-bch-wallet.git
synced 2026-09-21 16:52:06 -07:00
fix(ipfs): Got rough auto-retry working
This commit is contained in:
@@ -366,6 +366,8 @@ class IPFS extends React.Component {
|
||||
`Attempt ${cnt} to re-initialize wallet failed. Will try again.`
|
||||
)
|
||||
console.log(err)
|
||||
|
||||
await _this.sleep(5000)
|
||||
}
|
||||
// } while (!utxosInitialized)
|
||||
} while (!utxosInitialized && cnt < 10)
|
||||
|
||||
Reference in New Issue
Block a user