From 2096879e84ad8a50313125dec99c3177de3fa1f5 Mon Sep 17 00:00:00 2001 From: albertfolch-redeemeum <102516373+albertfolch-redeemeum@users.noreply.github.com> Date: Thu, 23 May 2024 11:48:11 +0200 Subject: [PATCH] Update test/protocol/FundsHandlerTest.js Co-authored-by: Klemen <64400885+zajck@users.noreply.github.com> --- test/protocol/FundsHandlerTest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/protocol/FundsHandlerTest.js b/test/protocol/FundsHandlerTest.js index ec8081518..1e6b8189c 100644 --- a/test/protocol/FundsHandlerTest.js +++ b/test/protocol/FundsHandlerTest.js @@ -6987,7 +6987,7 @@ describe("IBosonFundsHandler", function () { beforeEach(async function () { // expected payoffs // buyer: price + buyerEscalationDeposit - buyerPayoff = (BigInt(offerPriceDiscovery.price) + BigInt(buyerEscalationDeposit)).toString(); + buyerPayoff = (BigInt(order.price) + BigInt(buyerEscalationDeposit)).toString(); // seller: sellerDeposit sellerPayoff = offerPriceDiscovery.sellerDeposit;