This commit is contained in:
hatim boufnichel 2024-04-25 19:45:00 +02:00
parent 2e105f0478
commit f272865abf

View file

@ -19,10 +19,7 @@ export const setupNetwork = async () => {
} }
return return
} catch (e) { } catch (e) {
if (i % 5 === 0) { console.log("waiting for lnd to be ready", e)
await core.Mine(1)
}
console.log("waiting for lnd to be ready")
await new Promise(resolve => setTimeout(resolve, 1000)) await new Promise(resolve => setTimeout(resolve, 1000))
} }
} }