Merge pull request #1341 from siiky/fix/lam-575/validate-blockcypher-wizard

refactor: change Blockcypher validation wording
This commit is contained in:
Rafael Taranto 2022-08-04 11:04:17 +01:00 committed by GitHub
commit 48731ee2ee

View file

@ -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')
})
}