mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-17 12:07:09 +00:00
commit
1af0cbd3eb
@ -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…
x
Reference in New Issue
Block a user