Skip to content

Commit c7fed22

Browse files
committed
Remove force ID to string as it will always be string/hex internally
1 parent 0d05ed5 commit c7fed22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/trezor/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ function trezor(options: TrezorOptions): WalletInit {
486486
? [accounts[0].address]
487487
: [],
488488
eth_chainId: async () =>
489-
currentChain.hasOwnProperty('id') ? String(currentChain.id) : '',
489+
currentChain.hasOwnProperty('id') ? currentChain.id : '',
490490
eth_signTransaction: async ({ params: [transactionObject] }) =>
491491
signTransaction(transactionObject),
492492
eth_sendTransaction: async ({ baseRequest, params }) => {

0 commit comments

Comments
 (0)