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

feat(common): add more required fields

This commit is contained in:
matejcik 2020-09-14 13:31:10 +02:00 committed by matejcik
parent 185c2ac17d
commit 396de3f05e
2 changed files with 2 additions and 2 deletions

View File

@ -156,5 +156,5 @@ message HDNodeType {
required uint32 child_num = 3;
required bytes chain_code = 4;
optional bytes private_key = 5;
optional bytes public_key = 6;
required bytes public_key = 6;
}

View File

@ -301,7 +301,7 @@ message RecoveryDevice {
optional uint32 word_count = 1; // number of words in BIP-39 mnemonic
optional bool passphrase_protection = 2; // enable master node encryption using passphrase
optional bool pin_protection = 3; // enable PIN protection
optional string language = 4 [default='en-US']; // device language (IETF BCP 47 language tag)
optional string language = 4; // device language (IETF BCP 47 language tag)
optional string label = 5; // device label
optional bool enforce_wordlist = 6; // enforce BIP-39 wordlist during the process
// 7 reserved for unused recovery method