Skip to content

Commit

Permalink
replace round with floor for 50% of locked amount calc
Browse files Browse the repository at this point in the history
  • Loading branch information
sotnikov-s committed Apr 8, 2024
1 parent da7a178 commit b31efb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/testcases/run_in_band/tge.auction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ describe('Neutron / TGE / Auction', () => {
tgeMain.contracts.auction,
JSON.stringify({
withdraw_lp: {
amount: Math.round(
amount: Math.floor(
Number(userInfo.atom_lp_locked) / 2,
).toString(),
asset: 'ATOM',
Expand Down Expand Up @@ -1248,7 +1248,7 @@ describe('Neutron / TGE / Auction', () => {
tgeMain.contracts.auction,
JSON.stringify({
withdraw_lp: {
amount: Math.round(
amount: Math.floor(
Number(userInfo.usdc_lp_locked) / 2,
).toString(),
asset: 'USDC',
Expand Down

0 comments on commit b31efb5

Please sign in to comment.