Skip to content

Commit

Permalink
Fix: test wallet types
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Aug 26, 2024
1 parent b8894e2 commit 14c62e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/private-key-module/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ const PrivateKeyModule = (chainId: ChainInfo['chainId'], rpcUri: ChainInfo['rpcU

// @ts-ignore
eth_getCode: async ({ params }) => provider.getCode(params[0], params[1]),

// @ts-ignore
eth_accounts: async () => [wallet.address],
// @ts-ignore
eth_requestAccounts: async () => [wallet.address],

eth_call: async ({ params }: { params: any }) => wallet.call(params[0]),
Expand Down

0 comments on commit 14c62e4

Please sign in to comment.