Skip to content

Commit

Permalink
Fix on makeGetCall
Browse files Browse the repository at this point in the history
  • Loading branch information
hrmon committed Jul 10, 2023
1 parent a4d7049 commit c21797f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/makeGetCall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ function _prepareParams(params: any[] = []) {
paramsTuple.writeSlice(p);
} else if (typeof p === "bigint") {
paramsTuple.writeNumber(p);
} else {
throw new Error("unknown type!");
}
throw new Error("unknown type!");
});
return paramsTuple.build();
}
Expand Down

0 comments on commit c21797f

Please sign in to comment.