This commit is contained in:
hatim boufnichel 2024-04-25 19:54:01 +02:00
parent 2427c212ac
commit 4038bb8588

View file

@ -4,9 +4,10 @@ import LND from '../services/lnd/lnd.js'
export const setupNetwork = async () => {
const settings = LoadTestSettingsFromEnv()
//const core = new BitcoinCoreWrapper(settings)
//await core.InitAddress()
//await core.Mine(1)
const core = new BitcoinCoreWrapper(settings)
await core.InitAddress()
await core.Mine(1)
await new Promise(resolve => setTimeout(resolve, 500))
const lnd = new LND(settings.lndSettings, () => { }, () => { }, () => { }, () => { })
for (let i = 0; i < 30; i++) {
try {