mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-24 15:28:10 +00:00
common: fix PassphraseAck.on_device id
This commit is contained in:
parent
73ed2f3450
commit
56dc952495
@ -120,7 +120,8 @@ message PassphraseRequest {
|
|||||||
*/
|
*/
|
||||||
message PassphraseAck {
|
message PassphraseAck {
|
||||||
optional string passphrase = 1;
|
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:
|
def get_fields(cls) -> Dict:
|
||||||
return {
|
return {
|
||||||
1: ('passphrase', p.UnicodeType, 0),
|
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:
|
def get_fields(cls) -> Dict:
|
||||||
return {
|
return {
|
||||||
1: ('passphrase', p.UnicodeType, 0),
|
1: ('passphrase', p.UnicodeType, 0),
|
||||||
2: ('on_device', p.BoolType, 0),
|
3: ('on_device', p.BoolType, 0),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user