Skip to content

Commit

Permalink
fix(contract): recursion function name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MilGard91 committed Apr 20, 2022
1 parent 97e2f74 commit 803b6dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contract/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export class Contract implements ContractInterface {
if (member.type === 'felt') {
return acc + 1;
}
return acc + this.structMemberNum(member.type);
return acc + this.calculateStructMembers(member.type);
}, 0);
}

Expand Down

0 comments on commit 803b6dc

Please sign in to comment.