Fixing validation error

This commit is contained in:
sairaj mote 2023-11-08 21:14:15 +05:30
parent 5373ca0418
commit bd42ad5836

View File

@ -4960,7 +4960,7 @@
input.customValidation = (value) => {
if (!value) return { isValid: false, errorText: 'Please enter a BTC address' }
return {
isValid: btcOperator.validateAddr(value),
isValid: btcOperator.validateAddress(value),
errorText: `Invalid BTC address.<br> It usually starts with '1', '3' or 'bc1'`
}
}