This commit is contained in:
boufni95 2024-11-07 16:25:29 +00:00
parent 70dc928f1b
commit 5417c49245

View file

@ -11,7 +11,9 @@ export default async (T: TestBase) => {
const openAdminChannel = async (T: TestBase) => {
T.d("starting openAdminChannel")
const otherPub = (await T.externalAccessToOtherLnd.GetInfo()).identityPubkey
const info = await T.externalAccessToThirdLnd.GetInfo()
console.log(info)
const otherPub = info.identityPubkey
const openChannel = await T.main.adminManager.OpenChannel({
node_pubkey: otherPub, local_funding_amount: 100000, sat_per_v_byte: 1
})