This commit is contained in:
boufni95 2025-04-16 16:56:03 +00:00
parent 049af2c81f
commit 97be3089e8

View file

@ -53,7 +53,7 @@ const testSuccesfulReceivedExternalChainPayment = async (T: TestBase) => {
/* const balanceBefore = await T.main.storage.userStorage.GetUser(T.user1.userId)
expect(balanceBefore.balance_sats).to.be.equal(0) */
const user2Address = await T.main.paymentManager.NewAddress({ app_id: T.app.appId, app_user_id: T.user2.appUserIdentifier, user_id: T.user2.userId }, { addressType: Types.AddressType.WITNESS_PUBKEY_HASH })
expect(user2Address.address).to.startWith("bc1")
expect(user2Address.address).to.startWith("bcrt1")
T.d("generated external chain address for user2")
const payment = await T.externalAccessToOtherLnd.PayAddress(user2Address.address, 1000, 3, "test", { from: 'system', useProvider: false })
expect(payment.txid).to.not.be.undefined