Update routes.js

This commit is contained in:
CapDog 2021-04-18 11:59:23 -04:00 committed by GitHub
parent ae7d00123e
commit 1259d33d97

View file

@ -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