Merge pull request #1116 from gnosis/issue-1114

Allow HX values
This commit is contained in:
Mikhail Mikheev 2020-07-15 15:18:06 +04:00 committed by GitHub
commit 1af0cbd3eb
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 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
} }