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 a204fca commit 222cd36
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 @@ -24,6 +24,7 @@ export const setupNetwork = async () => {
await sendCoinsToAddresses(core, addresses)
console.log("done sending coins, opening channels")
await openChannels(instances, connectInfo, addresses)
await core.Mine(6)
console.log("done opening channels, sending balancing payment")
await sendBalancingPayment(instances)
stopAllInstances(instances)
Expand All @@ -39,7 +40,7 @@ const openChannels = async (instances: LndInstances, info: InstancesInfo, addres
await instances.bob.OpenChannel(info.carol.pubkey, addresses.bob, 5_000_000, 0)
await instances.carol.OpenChannel(info.alice.pubkey, addresses.carol, 5_000_000, 0)
await instances.alice.OpenChannel(info.dave.pubkey, addresses.alice, 5_000_000, 0)
await core.Mine(6)

}

const sendCoinsToAddresses = async (core: BitcoinCoreWrapper, addresses: Addresses) => {
Expand Down

0 comments on commit 222cd36

Please sign in to comment.