Skip to content

Commit

Permalink
fix: export named result of address array
Browse files Browse the repository at this point in the history
  • Loading branch information
SATANlC committed Jul 12, 2024
1 parent 7c9a882 commit 0ffc760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/abi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export function decodeParamsV2ByABI(funABI: FunctionFragment | AbiInputsType, da
convertAddresses(result[i]);
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
//@ts-ignore
if (name) convertAddresses(result[i]);
if (name) result[name] = convertAddresses(result[i]);
} else if (type.indexOf('tuple') === 0) {
if (extractSize(type)) {
const dimension = extractArrayDim(type);
Expand Down

0 comments on commit 0ffc760

Please sign in to comment.