From 2e2ccd7b1b5a6ca89b67c264740f6ef5f7584ec5 Mon Sep 17 00:00:00 2001 From: calvinchang Date: Mon, 16 Oct 2023 19:50:53 +0800 Subject: [PATCH] feat: intention of eth_sign error --- packages/blocto-sdk/src/providers/ethereum.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/blocto-sdk/src/providers/ethereum.ts b/packages/blocto-sdk/src/providers/ethereum.ts index 2d43a116..f68b0fea 100644 --- a/packages/blocto-sdk/src/providers/ethereum.ts +++ b/packages/blocto-sdk/src/providers/ethereum.ts @@ -397,7 +397,7 @@ export default class EthereumProvider break; } case 'eth_sign': - throw ethErrors.rpc.methodNotSupported('Method Not Supported: eth_sign has been disabled'); + throw ethErrors.rpc.methodNotFound('Method Not Supported: eth_sign has been disabled'); case 'eth_sendTransaction': result = await this.handleSendTransaction(payload); break;