deb
This commit is contained in:
parent
b42af40a7f
commit
2879517c92
1 changed files with 1 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ const testSuccesfulReceivedExternalChainPayment = async (T: TestBase) => {
|
||||||
expect(payment.txid).to.not.be.undefined
|
expect(payment.txid).to.not.be.undefined
|
||||||
T.d("paid 1000 sats to user2's external chain address")
|
T.d("paid 1000 sats to user2's external chain address")
|
||||||
await T.chainTools.mine(1)
|
await T.chainTools.mine(1)
|
||||||
|
await new Promise(resolve => setTimeout(resolve, 100))
|
||||||
T.d("mined 1 blocks to confirm the payment")
|
T.d("mined 1 blocks to confirm the payment")
|
||||||
const u2 = await T.main.storage.userStorage.GetUser(T.user2.userId)
|
const u2 = await T.main.storage.userStorage.GetUser(T.user2.userId)
|
||||||
expect(u2.balance_sats).to.be.equal(1000)
|
expect(u2.balance_sats).to.be.equal(1000)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue