Skip to content

Commit

Permalink
Update test/protocol/FundsHandlerTest.js
Browse files Browse the repository at this point in the history
Co-authored-by: Klemen <64400885+zajck@users.noreply.github.com>
  • Loading branch information
albertfolch-redeemeum and zajck authored May 23, 2024
1 parent a862142 commit a8ed847
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/protocol/FundsHandlerTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -6629,10 +6629,10 @@ describe("IBosonFundsHandler", function () {

sellerPayoff = BigInt(order.price) - BigInt(priceDiscoveryProtocolFee);

sellerPayoff2 = BigInt(offerPriceDiscovery.sellerDeposit) - BigInt(offerTokenProtocolFee);
sellerPayoff2 = BigInt(offerPriceDiscovery.sellerDeposit);

// protocol: 2 * protocolFee
protocolPayoff = (2n * BigInt(offerTokenProtocolFee)).toString(); // regular protocolFee + protocolFee from releaseFundsToIntermediateSellers
// protocol: protocolFee
protocolPayoff = (BigInt(offerTokenProtocolFee)).toString(); // regular protocolFee + protocolFee from releaseFundsToIntermediateSellers

// Escalate the dispute
await disputeHandler.connect(buyer).escalateDispute(exchangeId);
Expand Down

0 comments on commit a8ed847

Please sign in to comment.