common: fix PassphraseAck.on_device id

pull/803/head
Tomas Susanka 4 years ago
parent 73ed2f3450
commit 56dc952495

@ -120,7 +120,8 @@ message PassphraseRequest {
*/
message PassphraseAck {
optional string passphrase = 1;
optional bool on_device = 2; // user wants to enter passphrase on the device
// optional bytes state = 2; // DEPRECATED
optional bool on_device = 3; // user wants to enter passphrase on the device
}
/**

@ -25,5 +25,5 @@ class PassphraseAck(p.MessageType):
def get_fields(cls) -> Dict:
return {
1: ('passphrase', p.UnicodeType, 0),
2: ('on_device', p.BoolType, 0),
3: ('on_device', p.BoolType, 0),
}

@ -25,5 +25,5 @@ class PassphraseAck(p.MessageType):
def get_fields(cls) -> Dict:
return {
1: ('passphrase', p.UnicodeType, 0),
2: ('on_device', p.BoolType, 0),
3: ('on_device', p.BoolType, 0),
}

Loading…
Cancel
Save