From 6dd3a781a67bf73a7f14857655748eb827f723db Mon Sep 17 00:00:00 2001 From: nicolas Date: Mon, 3 May 2021 06:48:15 -0300 Subject: [PATCH] Fix: App Crash on decoded data opening when tx-builder send ETH to multiple EOA (#2208) * Fix: bytes value for decodedData --- src/components/DecodeTxs/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DecodeTxs/index.tsx b/src/components/DecodeTxs/index.tsx index 703ef001..deb5f474 100644 --- a/src/components/DecodeTxs/index.tsx +++ b/src/components/DecodeTxs/index.tsx @@ -81,7 +81,7 @@ export const BasicTxInfo = ({ Data (hex encoded): - {web3.utils.hexToBytes(txData).length} bytes + {txData ? web3.utils.hexToBytes(txData).length : 0} bytes