1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-06-02 14:18:59 +00:00

protob: don't use required for eth fields

This commit is contained in:
Pavol Rusnak 2019-01-28 18:38:10 +01:00
parent 101242f902
commit 495b35e212
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -24,7 +24,7 @@ message EthereumGetPublicKey {
* @end * @end
*/ */
message EthereumPublicKey { message EthereumPublicKey {
required hw.trezor.messages.common.HDNodeType node = 1; // BIP32 public node optional hw.trezor.messages.common.HDNodeType node = 1; // BIP32 public node
optional string xpub = 2; // serialized form of public node optional string xpub = 2; // serialized form of public node
} }
@ -44,7 +44,7 @@ message EthereumGetAddress {
* @end * @end
*/ */
message EthereumAddress { message EthereumAddress {
required string address = 2; // Ethereum address as string optional string address = 2; // Ethereum address as string
} }
/** /**
@ -98,7 +98,7 @@ message EthereumTxAck {
*/ */
message EthereumSignMessage { message EthereumSignMessage {
repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node
required bytes message = 2; // message to be signed optional bytes message = 2; // message to be signed
} }
/** /**