Fix resolving names not propagating inside param tables

This commit is contained in:
Willian Mitsuda 2021-11-19 14:57:21 -03:00
parent f0c78b6a12
commit 56a9efb81b
1 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,7 @@ type DecodedParamRowProps = {
paramType: ParamType; paramType: ParamType;
arrayElem?: number | undefined; arrayElem?: number | undefined;
help?: string | undefined; help?: string | undefined;
resolvedAddresses?: ResolvedAddresses | undefined; resolvedAddresses: ResolvedAddresses | undefined;
}; };
const DecodedParamRow: React.FC<DecodedParamRowProps> = ({ const DecodedParamRow: React.FC<DecodedParamRowProps> = ({
@ -99,6 +99,7 @@ const DecodedParamRow: React.FC<DecodedParamRowProps> = ({
i={idx} i={idx}
r={e} r={e}
paramType={paramType.components[idx]} paramType={paramType.components[idx]}
resolvedAddresses={resolvedAddresses}
/> />
))} ))}
{paramType.baseType === "array" && {paramType.baseType === "array" &&
@ -109,6 +110,7 @@ const DecodedParamRow: React.FC<DecodedParamRowProps> = ({
r={e} r={e}
paramType={paramType.arrayChildren} paramType={paramType.arrayChildren}
arrayElem={idx} arrayElem={idx}
resolvedAddresses={resolvedAddresses}
/> />
))} ))}
</> </>