1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

protob: add deprecated field for old-style EthereumAddress

this allows 3rd parties to keep backwards compatibility for Trezors
older than 1.8.0/2.1.0

fixes #136
This commit is contained in:
matejcik 2019-05-07 18:23:18 +02:00
parent afdfd5fbdb
commit d378f05d27

View File

@ -44,7 +44,8 @@ message EthereumGetAddress {
* @end * @end
*/ */
message EthereumAddress { message EthereumAddress {
optional string address = 2; // Ethereum address as string optional bytes old_address = 1 [deprecated=true]; // trezor <1.8.0, <2.1.0 - raw bytes of Ethereum address
optional string address = 2; // Ethereum address as hex-encoded string
} }
/** /**