From 8180263d7507036756bc9efebd24f9d8c8759f67 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 28 Nov 2013 02:18:32 +0100 Subject: [PATCH] don't use serialized hdnode --- protob/messages.proto | 2 +- protob/storage.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/protob/messages.proto b/protob/messages.proto index cf26a15af6..1083c3a65d 100644 --- a/protob/messages.proto +++ b/protob/messages.proto @@ -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 diff --git a/protob/storage.proto b/protob/storage.proto index ae18bd13ba..cd61901f29 100644 --- a/protob/storage.proto +++ b/protob/storage.proto @@ -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;