Allow HX values

This commit is contained in:
nicosampler 2020-07-14 10:15:04 -03:00
parent 12eb8af6c0
commit 475e95bf5f
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ const isTxValid = (t: SafeAppTx): boolean => {
return false
}
if (typeof t.value === 'string' && !/^\d+$/.test(t.value)) {
if (typeof t.value === 'string' && !/^(0x)?[0-9a-f]+$/i.test(t.value)) {
return false
}