1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 12:00:59 +00:00

don't use serialized hdnode

This commit is contained in:
Pavol Rusnak 2013-11-28 02:18:32 +01:00
parent 2c621ca20f
commit 8180263d75
2 changed files with 2 additions and 2 deletions

View File

@ -331,7 +331,7 @@ message DebugLinkState {
optional bytes matrix = 3; // Current PIN matrix
optional bytes mnemonic = 4; // current mnemonic format
optional HDNodeType node = 5; // current node (BIP32 format)
// optional bytes state = 6 [(binary) = true];
optional bool passphrase_protection = 6;
}
// Ask device to shutdown/restart

View File

@ -10,7 +10,7 @@ import "types.proto";
message Storage {
required uint32 version = 1;
optional bytes node_serialized = 2 [(binary) = true];
optional HDNodeType node = 2;
optional bytes mnemonic = 3 [(binary) = true];
optional bool passphrase_protection = 4; // whether node_serialized or mnemonic are encrypted (protected by passphrase)
optional uint32 pin_failed_attempts = 5;