Skip to content

Commit

Permalink
Update ts-gen.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Elli610 committed Aug 24, 2023
1 parent dc13fa9 commit a5b524e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/massa-proto-cli/src/ts-gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ export async function ${protoFile.funcName}ExtractOutputsAndEvents(
console.log("Error while calling the Smart Contract: " + err);
return {
events: events,
error: err,
} as OperationOutputs;
}
Expand Down Expand Up @@ -602,6 +603,7 @@ import { IBaseAccount } from "@massalabs/massa-web3/dist/esm/interfaces/IBaseAcc
export interface OperationOutputs {
outputs?: any;
events: IEvent[];
error?: any;
}
Expand Down

0 comments on commit a5b524e

Please sign in to comment.