Skip to content

Commit

Permalink
feat: intention of eth_sign error
Browse files Browse the repository at this point in the history
  • Loading branch information
q20274982 committed Oct 17, 2023
1 parent 50bfc22 commit 2e2ccd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/blocto-sdk/src/providers/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2e2ccd7

Please sign in to comment.