From 56a9efb81b87ae48f817489b3ed864cbda2c522c Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Fri, 19 Nov 2021 14:57:21 -0300 Subject: [PATCH] Fix resolving names not propagating inside param tables --- src/transaction/decoder/DecodedParamRow.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/transaction/decoder/DecodedParamRow.tsx b/src/transaction/decoder/DecodedParamRow.tsx index b553c36..efd2917 100644 --- a/src/transaction/decoder/DecodedParamRow.tsx +++ b/src/transaction/decoder/DecodedParamRow.tsx @@ -17,7 +17,7 @@ type DecodedParamRowProps = { paramType: ParamType; arrayElem?: number | undefined; help?: string | undefined; - resolvedAddresses?: ResolvedAddresses | undefined; + resolvedAddresses: ResolvedAddresses | undefined; }; const DecodedParamRow: React.FC = ({ @@ -99,6 +99,7 @@ const DecodedParamRow: React.FC = ({ i={idx} r={e} paramType={paramType.components[idx]} + resolvedAddresses={resolvedAddresses} /> ))} {paramType.baseType === "array" && @@ -109,6 +110,7 @@ const DecodedParamRow: React.FC = ({ r={e} paramType={paramType.arrayChildren} arrayElem={idx} + resolvedAddresses={resolvedAddresses} /> ))}