up
This commit is contained in:
parent
843121035a
commit
63bbdd88eb
1 changed files with 1 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ const testInboundPaymentFromProvider = async (T: TestBase, bootstrapped: Main, b
|
||||||
|
|
||||||
await T.externalAccessToOtherLnd.PayInvoice(invoiceRes.invoice, 0, 100)
|
await T.externalAccessToOtherLnd.PayInvoice(invoiceRes.invoice, 0, 100)
|
||||||
const userBalance = await bootstrapped.appUserManager.GetUserInfo({ app_id: bUser.appId, user_id: bUser.userId, app_user_id: bUser.appUserIdentifier })
|
const userBalance = await bootstrapped.appUserManager.GetUserInfo({ app_id: bUser.appId, user_id: bUser.userId, app_user_id: bUser.appUserIdentifier })
|
||||||
|
await new Promise((resolve) => setTimeout(resolve, 200))
|
||||||
T.expect(userBalance.balance).to.equal(2000)
|
T.expect(userBalance.balance).to.equal(2000)
|
||||||
T.d("user balance is 2000")
|
T.d("user balance is 2000")
|
||||||
const providerBalance = await bootstrapped.liquidProvider.CheckUserState()
|
const providerBalance = await bootstrapped.liquidProvider.CheckUserState()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue