Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
boufni95 committed Apr 24, 2024
1 parent f94285c commit 84266c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tests/networkSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ export const setupNetwork = async () => {
const addresses = await getAddresses(instances)
await sendCoinsToAddresses(core, addresses)
console.log("done sending coins, opening channels")
await new Promise((resolve) => setTimeout(resolve, 2000))
await new Promise((resolve) => setTimeout(resolve, 1000))
console.log(await getAllInfo(instances))
console.log(await getAllBalances(instances))
await openChannels(instances, connectInfo, addresses)
await core.Mine(6)
console.log("done opening channels, sending balancing payment")
await new Promise((resolve) => setTimeout(resolve, 500))
await sendBalancingPayment(instances)
stopAllInstances(instances)
console.log("network setup complete, starting tests")
Expand Down

0 comments on commit 84266c3

Please sign in to comment.