From b49aaea614b6c23513f4635dfaf51dff93ef1c29 Mon Sep 17 00:00:00 2001 From: Dmitry <98899785+mdqst@users.noreply.github.com> Date: Sat, 18 Jan 2025 20:04:45 +0300 Subject: [PATCH] fix: Fix incorrect issuer balance check in withdrawal test --- test/payment/vc-payment.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/payment/vc-payment.test.ts b/test/payment/vc-payment.test.ts index b4614a368..b419ca0bf 100644 --- a/test/payment/vc-payment.test.ts +++ b/test/payment/vc-payment.test.ts @@ -148,7 +148,7 @@ describe("VC Payment Contract", () => { const issuer1BalanceAfterWithdraw = await payment.connect(issuer1Signer).getMyBalance(); expect(issuer1BalanceAfterWithdraw).to.be.eq(0); - const issuer2BalanceAfterWithdraw = await payment.connect(issuer1Signer).getMyBalance(); + const issuer2BalanceAfterWithdraw = await payment.connect(issuer2Signer).getMyBalance(); expect(issuer2BalanceAfterWithdraw).to.be.eq(0); expect(await ethers.provider.getBalance(issuer1Signer.address)).to.be.eq(