mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-16 18:30:57 +00:00
fix last commit
This commit is contained in:
parent
73edc7cb74
commit
106642bd44
@ -215,6 +215,7 @@ bool storage_from_flash(void)
|
|||||||
u2fword >>= 1;
|
u2fword >>= 1;
|
||||||
}
|
}
|
||||||
// force recomputing u2f root for storage version < 9.
|
// force recomputing u2f root for storage version < 9.
|
||||||
|
// this is done by re-setting the mnemonic, which triggers the computation
|
||||||
if (version < 9) {
|
if (version < 9) {
|
||||||
storageUpdate.has_mnemonic = storageRom->has_mnemonic;
|
storageUpdate.has_mnemonic = storageRom->has_mnemonic;
|
||||||
strlcpy(storageUpdate.mnemonic, storageRom->mnemonic, sizeof(storageUpdate.mnemonic));
|
strlcpy(storageUpdate.mnemonic, storageRom->mnemonic, sizeof(storageUpdate.mnemonic));
|
||||||
|
2
vendor/trezor-common
vendored
2
vendor/trezor-common
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 8e96b42260b84e1e0f0b00a5e528d19258c57031
|
Subproject commit 8019bd2730ce7e4b2351e2441dbea38191ed14d9
|
Loading…
Reference in New Issue
Block a user