From 396de3f05e89e2ff985f7d2919c576640284c470 Mon Sep 17 00:00:00 2001 From: matejcik Date: Mon, 14 Sep 2020 13:31:10 +0200 Subject: [PATCH] feat(common): add more required fields --- common/protob/messages-common.proto | 2 +- common/protob/messages-management.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/protob/messages-common.proto b/common/protob/messages-common.proto index be38977cfa..7f1fdc43af 100644 --- a/common/protob/messages-common.proto +++ b/common/protob/messages-common.proto @@ -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; } diff --git a/common/protob/messages-management.proto b/common/protob/messages-management.proto index 3b9a420e93..3799fb964c 100644 --- a/common/protob/messages-management.proto +++ b/common/protob/messages-management.proto @@ -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