1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-10 15:30:55 +00:00

firmware: update Ethereum networks

This commit is contained in:
Pavol Rusnak 2018-08-27 17:08:02 +02:00
parent 0bbb3aef89
commit 66b85c9757
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
Version 1.6.3 [unreleased]
* Stable release, optional update
* implement RSKIP-60 Ethereum checksum encoding
* add support for new Ethereum networks (ESN, AKA, ETHO, MUSI, PIRL, ATH)
* add support for new Ethereum networks (ESN, AKA, ETHO, MUSI, PIRL, ATH, GO)
Version 1.6.2
* Stable release, optional update

View File

@ -251,14 +251,15 @@ static void ethereumFormatAmount(const bignum256 *amnt, const TokenType *token,
switch (chain_id) {
case 1: suffix = " ETH"; break; // Ethereum
case 2: suffix = " EXP"; break; // Expanse
case 3: suffix = " tETH"; break; // Ethereum Testnet Ropsten
case 4: suffix = " tETH"; break; // Ethereum Testnet Rinkeby
case 3: suffix = " tROP"; break; // Ethereum Testnet Ropsten
case 4: suffix = " tRIN"; break; // Ethereum Testnet Rinkeby
case 8: suffix = " UBQ"; break; // UBIQ
case 20: suffix = " EOSC"; break; // EOS Classic
case 28: suffix = " ETSC"; break; // Ethereum Social
case 30: suffix = " RSK"; break; // RSK
case 31: suffix = " tRSK"; break; // RSK Testnet
case 42: suffix = " tETH"; break; // Ethereum Testnet Kovan
case 42: suffix = " tKOV"; break; // Ethereum Testnet Kovan
case 60: suffix = " GO"; break; // GoChain
case 61: suffix = " ETC"; break; // Ethereum Classic
case 62: suffix = " tETC"; break; // Ethereum Classic Testnet
case 64: suffix = " ELLA"; break; // Ellaism