don't use serialized hdnode

pull/41/head
Pavol Rusnak 11 years ago
parent 2c621ca20f
commit 8180263d75

@ -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

@ -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;

Loading…
Cancel
Save