Skip to content

Commit

Permalink
fix: get ABI type for return type in method signature
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-p committed Oct 17, 2023
1 parent e6e327e commit e74dec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4402,7 +4402,7 @@ export default class Compiler {
(t) => this.getABITupleString(this.getABIType(t.getText())),
);

let returnType = typeArgs![1].getText();
let returnType = this.getABIType(typeArgs![1].getText());

returnType = returnType.toLowerCase()
.replace('asset', 'uint64')
Expand Down

0 comments on commit e74dec7

Please sign in to comment.