Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
castrodd committed Jan 12, 2024
1 parent 8d929d3 commit 93d1f3a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/converters/toRpcTypedData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ export function toRpcTypedData(data: unknown): RpcTypedData | null | undefined {
return { bytes: bytes };
} else if (typeof data === 'number') {
return Number.isInteger(data) ? { int: data } : { double: data };
} else if (typeof data === 'object') {
return { modelBindingData: data } as RpcTypedData;
} else {
return { json: JSON.stringify(data) };
}
Expand Down

0 comments on commit 93d1f3a

Please sign in to comment.