This commit is contained in:
boufni95 2025-04-16 17:38:10 +00:00
parent b42af40a7f
commit 2879517c92

View file

@ -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)