Skip to content

Commit ae82edd

Browse files
coreyphillipsJasonvdb
authored andcommitted
fix(wallet): Fix Custom Fee Rate Flow
Updates min/max condition in onContinue method for the custom fee rate flow.
1 parent eac9f23 commit ae82edd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/screens/Wallets/Send/FeeCustom.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ const FeeCustom = ({
6363
};
6464

6565
const onContinue = (): void => {
66-
if (feeRate > maxFee) {
66+
if (Number(feeRate) > maxFee) {
6767
showToast({
6868
type: 'info',
6969
title: t('max_possible_fee_rate'),
7070
description: `${maxFee} ${t('sats_per_vbyte')}`,
7171
});
7272
return;
7373
}
74-
if (minFee < maxFee) {
74+
if (Number(feeRate) < minFee) {
7575
showToast({
7676
type: 'info',
7777
title: t('min_possible_fee_rate'),

0 commit comments

Comments
 (0)