Allow HX values
This commit is contained in:
parent
12eb8af6c0
commit
475e95bf5f
|
@ -63,7 +63,7 @@ const isTxValid = (t: SafeAppTx): boolean => {
|
||||||
return false
|
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
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue