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 committed May 23, 2024
1 parent 52ed7dd commit 0d9ed3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/protocol/FundsHandlerTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -6883,10 +6883,10 @@ describe("IBosonFundsHandler", function () {
(BigInt(offerPriceDiscovery.sellerDeposit) * (10000n - BigInt(buyerPercentBasisPoints))) / 10000n;

const sellerPricePart =
BigInt(offerPriceDiscovery.price) -
(BigInt(offerPriceDiscovery.price) * sellerPercentBasisPoints) / 10000n;
const sellerProtocolFeePart = (BigInt(offerTokenProtocolFee) * sellerPercentBasisPoints) / 10000n;
sellerPayoff2 = BigInt(offerPriceDiscovery.price) - sellerPricePart - sellerProtocolFeePart;
BigInt(order.price) -

Check failure on line 6886 in test/protocol/FundsHandlerTest.js

View workflow job for this annotation

GitHub Actions / setup

'order' is not defined
(BigInt(order.price) * sellerPercentBasisPoints) / 10000n;

Check failure on line 6887 in test/protocol/FundsHandlerTest.js

View workflow job for this annotation

GitHub Actions / setup

'order' is not defined
const sellerProtocolFeePart = (BigInt(priceDiscoveryProtocolFee) * sellerPercentBasisPoints) / 10000n;

Check failure on line 6888 in test/protocol/FundsHandlerTest.js

View workflow job for this annotation

GitHub Actions / setup

'priceDiscoveryProtocolFee' is not defined
sellerPayoff2 = BigInt(order.price) - sellerPricePart - sellerProtocolFeePart;

Check failure on line 6889 in test/protocol/FundsHandlerTest.js

View workflow job for this annotation

GitHub Actions / setup

'order' is not defined

protocolPayoff = sellerProtocolFeePart;

Expand Down

0 comments on commit 0d9ed3d

Please sign in to comment.