Skip to content

Commit

Permalink
fix(fee): allow input for relative fee limit of 0.0001% (#603)
Browse files Browse the repository at this point in the history
  • Loading branch information
theborakompanioni authored Feb 6, 2023
1 parent 7f5c787 commit 1c87a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/settings/FeeConfigModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ export default function FeeConfigModal({ show, onHide }: FeeConfigModalProps) {

if (
!isValidNumber(values.max_cj_fee_rel) ||
values.max_cj_fee_rel! <= CJ_FEE_REL_MIN ||
values.max_cj_fee_rel! < CJ_FEE_REL_MIN ||
values.max_cj_fee_rel! > CJ_FEE_REL_MAX
) {
errors.max_cj_fee_rel = t('settings.fees.feedback_invalid_max_cj_fee_rel', {
Expand Down

0 comments on commit 1c87a6d

Please sign in to comment.