Skip to content

Commit 966c397

Browse files
committed
frontend: fix ltc is not bitcoin
LTC was wrongly detected as Bitcoin as it is Bitcoin based. Regression in ebbc518
1 parent 907d830 commit 966c397

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontends/web/src/components/terms/moonpay-terms.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import { ChangeEvent } from 'react';
1919
import { useTranslation } from 'react-i18next';
20-
import { isBitcoinBased } from '@/routes/account/utils';
20+
import { isBitcoinOnly } from '@/routes/account/utils';
2121
import { Button, Checkbox } from '@/components/forms';
2222
import { setConfig } from '@/utils/config';
2323
import { IAccount } from '@/api/account';
@@ -37,7 +37,7 @@ export const MoonpayTerms = ({ account, onAgreedTerms }: TProps) => {
3737
};
3838

3939
const coinCode = account.coinCode.toUpperCase();
40-
const isBitcoin = isBitcoinBased(account.coinCode);
40+
const isBitcoin = isBitcoinOnly(account.coinCode);
4141

4242
return (
4343
<div className={style.disclaimerContainer}>

0 commit comments

Comments
 (0)