From 1c87a6de06db3974a8f0e307329fc3f13dd69954 Mon Sep 17 00:00:00 2001 From: Thebora Kompanioni Date: Mon, 6 Feb 2023 20:40:49 +0100 Subject: [PATCH] fix(fee): allow input for relative fee limit of 0.0001% (#603) --- src/components/settings/FeeConfigModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/settings/FeeConfigModal.tsx b/src/components/settings/FeeConfigModal.tsx index c24e3fde7..ebd028d6e 100644 --- a/src/components/settings/FeeConfigModal.tsx +++ b/src/components/settings/FeeConfigModal.tsx @@ -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', {