Skip to content

Commit

Permalink
fix: resolve signature invalid error by including 'send' property in …
Browse files Browse the repository at this point in the history
…msgcall
  • Loading branch information
omarsy committed Apr 3, 2024
1 parent 0d6d321 commit 92f9031
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/proto/gno/vm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,12 @@ export const MsgCall = {
},

toJSON(message: MsgCall): unknown {
const obj: any = {};
const obj: any = {
send: message.send ?? '',
};
if (message.caller !== '') {
obj.caller = message.caller;
}
if (message.send !== '') {
obj.send = message.send;
}
if (message.pkg_path !== '') {
obj.pkg_path = message.pkg_path;
}
Expand Down

0 comments on commit 92f9031

Please sign in to comment.