mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-26 08:25:14 +00:00
Allow HX values
This commit is contained in:
parent
12eb8af6c0
commit
475e95bf5f
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user