Skip to content

Commit 5619ded

Browse files
committed
fix: gh actions (#4430)
Signed-off-by: Mariusz Jasuwienas <[email protected]>
1 parent cfa515e commit 5619ded

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/server/src/compliance.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ const makeSureBodyExistsAndCanBeChecked = (ctx: IResponseContext) => {
5858
*/
5959
export const jsonRpcComplianceLayer = async (ctx: IResponseContext & ParameterizedContext) => {
6060
if (!makeSureBodyExistsAndCanBeChecked(ctx)) return;
61-
if (ctx.status === 200 && !ctx.body.result) ctx.body.result = '0x';
6261
if (ctx.status === 400) {
6362
if (!ctx.body.error || !ctx.body.error.code) ctx.body.error = FALLBACK_RESPONSE_BODY.error;
6463
if (VALID_JSON_RPC_HTTP_REQUESTS_STATUS_CODE) ctx.status = 200;

0 commit comments

Comments
 (0)