Skip to content

Commit

Permalink
Merge pull request #536 from start940315/release/v6.0.0-beta.4
Browse files Browse the repository at this point in the history
fix: export named result of address array
  • Loading branch information
unicornonea committed Jul 12, 2024
2 parents 73531cb + 0ffc760 commit 41ab0d0
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 41ab0d0

Please sign in to comment.