up
This commit is contained in:
parent
341e962af3
commit
082181f385
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue