From ff0e25e9f94678932998688230f4ad712c2e5afb Mon Sep 17 00:00:00 2001 From: Leon Date: Mon, 25 Nov 2024 09:09:32 +0800 Subject: [PATCH] fix: Support rpcCall method for SCDO chain (#6266) --- packages/kit-bg/src/providers/ProviderApiScdo.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/kit-bg/src/providers/ProviderApiScdo.ts b/packages/kit-bg/src/providers/ProviderApiScdo.ts index 10cca44c09f..485b5f5227e 100644 --- a/packages/kit-bg/src/providers/ProviderApiScdo.ts +++ b/packages/kit-bg/src/providers/ProviderApiScdo.ts @@ -51,9 +51,8 @@ class ProviderApiScdo extends ProviderApiBase { // ignore } - // eslint-disable-next-line @typescript-eslint/no-unused-vars public async rpcCall(request: IJsBridgeMessagePayload): Promise { - return Promise.resolve(); + return this._rpcCall(request); } // Provider API