Merge branch 'development' into AddingTestId

This commit is contained in:
Mikhail Mikheev 2020-07-16 16:31:02 +04:00 committed by GitHub
commit cd6078e0a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}