Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
sainthiago committed Dec 29, 2023
1 parent e9a813a commit de68faf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/rpc/src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@ export const callViewMethod = async <T>({
}

const parsed = JSON.parse(Buffer.from(res?.result?.result).toString());

return parsed as T;
};

0 comments on commit de68faf

Please sign in to comment.