From 45a2b7b1f7bf3d56abbd0a49a7a62f53996503b4 Mon Sep 17 00:00:00 2001 From: gmega Date: Wed, 22 May 2024 20:18:09 -0300 Subject: [PATCH] add missing await --- tests/contracts/testMarket.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/contracts/testMarket.nim b/tests/contracts/testMarket.nim index 9a94acf7..35b46279 100644 --- a/tests/contracts/testMarket.nim +++ b/tests/contracts/testMarket.nim @@ -256,7 +256,7 @@ ethersuite "On-Chain Market": receivedIds.add(requestId) let subscription = await market.subscribeRequestCancelled(request.id, onRequestCancelled) - advanceToCancelledRequest(otherRequest) # shares expiry with otherRequest + await advanceToCancelledRequest(otherRequest) # shares expiry with otherRequest await market.withdrawFunds(otherRequest.id) check receivedIds.len == 0 await market.withdrawFunds(request.id)