From 39d423bcc0590049f118ccecb4ba0457b1efdd01 Mon Sep 17 00:00:00 2001 From: canonbrother Date: Mon, 25 Nov 2024 15:43:24 +0800 Subject: [PATCH] rpc resp rm data --- apps/whale-api/src/module.api/__defid__/rpc.controller.defid.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/whale-api/src/module.api/__defid__/rpc.controller.defid.ts b/apps/whale-api/src/module.api/__defid__/rpc.controller.defid.ts index 67dc26a90..da861822c 100644 --- a/apps/whale-api/src/module.api/__defid__/rpc.controller.defid.ts +++ b/apps/whale-api/src/module.api/__defid__/rpc.controller.defid.ts @@ -19,7 +19,7 @@ afterAll(async () => { it('test whitelisted getblockcount rpc call', async () => { const res = await controller.post({ method: 'getblockcount', params: [] }) - expect(res.data).toStrictEqual(101) + expect(res).toStrictEqual(101) }) it('test **NOT** whitelisted listpoolpairs rpc call', async () => {