EthereumCommonwealth / etherwallet

Ethereum Classic blockchain interaction web tool.
https://ethereumproject.github.io/etherwallet/
BSD 4-Clause "Original" or "Old" License
14 stars 17 forks source link

support full 32bit chain_id for Trezor #229

Closed hackmod closed 6 years ago

hackmod commented 6 years ago

the following are full 32bit chain_id support fix for Trezor Hard wallet.

for some larger chainId, Trezor returns only signature_v bit (0 or 1) and this fix simply recalc signature_v at the client side.

there is no backward compatible issue with this fix (Please see https://github.com/trezor/trezor-mcu/pull/399 for details)

See also https://github.com/kvhnuke/etherwallet/pull/2011