1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 06:18:07 +00:00

vendor: update trezor-common

This commit is contained in:
Pavol Rusnak 2018-07-27 12:33:21 +02:00
parent 32fbc69c30
commit 51d810b6da
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
3 changed files with 25 additions and 1 deletions

View File

@ -105,6 +105,13 @@ NETWORKS = [
name='Ethereum Testnet Kovan',
rskip60=False,
),
NetworkInfo(
chain_id=60,
slip44=6060,
shortcut='GO',
name='GoChain',
rskip60=False,
),
NetworkInfo(
chain_id=61,
slip44=61,
@ -140,4 +147,18 @@ NETWORKS = [
name='EtherGem',
rskip60=False,
),
NetworkInfo(
chain_id=31102,
slip44=31102,
shortcut='ESN',
name='Ethersocial Network',
rskip60=False,
),
NetworkInfo(
chain_id=200625,
slip44=200625,
shortcut='AKA',
name='Akroma',
rskip60=False,
),
]

View File

@ -15,6 +15,7 @@ class GetPublicKey(p.MessageType):
2: ('ecdsa_curve_name', p.UnicodeType, 0),
3: ('show_display', p.BoolType, 0),
4: ('coin_name', p.UnicodeType, 0), # default=Bitcoin
5: ('script_type', p.UVarintType, 0), # default=SPENDADDRESS
}
def __init__(
@ -23,8 +24,10 @@ class GetPublicKey(p.MessageType):
ecdsa_curve_name: str = None,
show_display: bool = None,
coin_name: str = None,
script_type: int = None,
) -> None:
self.address_n = address_n if address_n is not None else []
self.ecdsa_curve_name = ecdsa_curve_name
self.show_display = show_display
self.coin_name = coin_name
self.script_type = script_type

@ -1 +1 @@
Subproject commit e0108d34bf4b741d9ddcf1e7b423e799a3a04b77
Subproject commit 105fbeb16df2793eb2fe60251e96d273e52edc3d