up
This commit is contained in:
parent
049af2c81f
commit
97be3089e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue