Skip to content

Commit

Permalink
Merge pull request #1785 from synonymdev/fix/custom-fee-rate
Browse files Browse the repository at this point in the history
fix(wallet): Fix Custom Fee Rate Flow
  • Loading branch information
coreyphillips authored May 3, 2024
2 parents c664cfd + 209c8be commit 2c5b077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/screens/Wallets/Send/FeeCustom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ const FeeCustom = ({
};

const onContinue = (): void => {
if (feeRate > maxFee) {
if (Number(feeRate) > maxFee) {
showToast({
type: 'info',
title: t('max_possible_fee_rate'),
description: `${maxFee} ${t('sats_per_vbyte')}`,
});
return;
}
if (minFee < maxFee) {
if (Number(feeRate) < minFee) {
showToast({
type: 'info',
title: t('min_possible_fee_rate'),
Expand Down

0 comments on commit 2c5b077

Please sign in to comment.