up
This commit is contained in:
parent
0dd36764f8
commit
5b05fa31cd
1 changed files with 2 additions and 1 deletions
|
|
@ -20,8 +20,9 @@ export const setupNetwork = async () => {
|
|||
await core.Mine(6)*/
|
||||
const alicePub = await alice.GetInfo()
|
||||
const [pubkey, host] = alicePub.uris[0].split('@')
|
||||
await alice.ConnectPeer(pubkey, host)
|
||||
await carol.ConnectPeer(pubkey, host)
|
||||
console.log(await alice.GetInfo())
|
||||
console.log(await carol.GetInfo())
|
||||
const aliceAddr = await alice.NewAddress(AddressType.WITNESS_PUBKEY_HASH, true)
|
||||
console.log({ aliceAddr })
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue