Skip to content

Commit

Permalink
fix test & comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed Aug 14, 2024
1 parent 91da916 commit a267488
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Transfer/transferActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const TransferActions = () => {
(originChain === ChainType.CORETIME &&
balance.coretime - coretimeChainED < _transferAmount) ||
(originChain === ChainType.REGIONX &&
// TODO ed:
// ED is not really relevant since rc asset is not the native asset.
balance.rxRcCurrencyBalance < _transferAmount) ||
(originChain === ChainType.RELAY &&
balance.relay - relayChainED < _transferAmount)
Expand Down
4 changes: 2 additions & 2 deletions src/utils/sale/sales.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@jest/globals';

import { CORETIME_TOKEN_UNIT, SaleInfo, SalePhase } from '@/models';
import { SaleInfo, SalePhase } from '@/models';

import { getCorePriceAt, getCurrentPhase } from '.';

Expand All @@ -11,7 +11,7 @@ describe('Purchase page', () => {
firstCore: 45,
idealCoresSold: 5,
leadinLength: 21600, // Block number
price: 50 * CORETIME_TOKEN_UNIT,
price: 50 * Math.pow(10, 12),
regionBegin: 124170, // Timeslice
regionEnd: 125430, // Timeslice
saleStart: 1001148, // Block number
Expand Down

0 comments on commit a267488

Please sign in to comment.