Update routes.js
This commit is contained in:
parent
ae7d00123e
commit
1259d33d97
1 changed files with 2 additions and 2 deletions
|
|
@ -695,8 +695,8 @@ module.exports = async (
|
|||
let intervalID = null
|
||||
|
||||
intervalID = setInterval(() => {
|
||||
if (tries === 3) {
|
||||
rej(new Error(`Wallet did not warm up in under 3 seconds.`))
|
||||
if (tries === 7) {
|
||||
rej(new Error(`Wallet did not warm up in under 7 seconds.`))
|
||||
|
||||
clearInterval(intervalID)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue