From 90aef5d98088213ab6fd28c874fbb05c2eb18c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20S=C3=A1?= Date: Wed, 3 Aug 2022 16:44:46 +0100 Subject: [PATCH] refactor: change Blockcypher validation wording --- new-lamassu-admin/src/pages/Services/schemas/blockcypher.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/new-lamassu-admin/src/pages/Services/schemas/blockcypher.js b/new-lamassu-admin/src/pages/Services/schemas/blockcypher.js index e65d5ae8..103e26ef 100644 --- a/new-lamassu-admin/src/pages/Services/schemas/blockcypher.js +++ b/new-lamassu-admin/src/pages/Services/schemas/blockcypher.js @@ -43,8 +43,8 @@ export default { .required('The token is required'), confidenceFactor: Yup.number('The confidence factor must be a number') .integer('The confidence factor must be an integer') - .min(0, 'The confidence factor must be non-negative') - .max(100, 'The confidence factor must be less than or equal to 100') + .min(0, 'The confidence factor must be between 0 and 100') + .max(100, 'The confidence factor must be between 0 and 100') .required('The confidence factor is required') }) }