From 475e95bf5f9257f0dab67d9e6272f635df96f0d3 Mon Sep 17 00:00:00 2001 From: nicosampler Date: Tue, 14 Jul 2020 10:15:04 -0300 Subject: [PATCH] Allow HX values --- src/routes/safe/components/Apps/confirmTransactions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/safe/components/Apps/confirmTransactions.tsx b/src/routes/safe/components/Apps/confirmTransactions.tsx index f5ad686c..03efa44f 100644 --- a/src/routes/safe/components/Apps/confirmTransactions.tsx +++ b/src/routes/safe/components/Apps/confirmTransactions.tsx @@ -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 }