bugfix: enter vfs after creating it
This commit is contained in:
parent
734bcc78ca
commit
c3a894192a
@ -10,6 +10,7 @@ This lists the new changes that have not yet been published in a normal release.
|
||||
now offered for transactions of all sizes.
|
||||
- Bugfix: If all change outputs have `nValue=0` they're not shown in UX.
|
||||
- Bugfix: Disallow negative input/output amounts in PSBT.
|
||||
- Bugfix: Fix filesystem initialization after Wife LFS or Destroy Seed
|
||||
|
||||
# Mk4 Specific Changes
|
||||
|
||||
|
||||
@ -1462,7 +1462,7 @@ async def wipe_filesystem(*A):
|
||||
Erase internal filesystem and rebuild it. Resets contents of internal flash area \
|
||||
used for settings, address search cache, and HSM config file. Does not affect funds, \
|
||||
or seed words but will reset settings used with other temporary seeds & BIP-39 passphrases. \
|
||||
Does not affect MicroSD card, if any.'''):
|
||||
Does not affect MicroSD card, if any.''', confirm_key="4"):
|
||||
return
|
||||
|
||||
from files import wipe_flash_filesystem
|
||||
|
||||
@ -11,7 +11,8 @@ def make_flash_fs():
|
||||
os.VfsLfs2.mkfs(fl)
|
||||
|
||||
os.mount(fl, '/flash')
|
||||
os.mkdir('/flash/settings')
|
||||
os.chdir('/flash')
|
||||
os.mkdir('settings')
|
||||
|
||||
def make_psram_fs():
|
||||
# Filesystem is wiped and rebuilt on each boot before this point, but
|
||||
|
||||
@ -745,7 +745,7 @@ async def remember_ephemeral_seed():
|
||||
# address cache, settings from tmp seeds / seedvault seeds
|
||||
# rebuild fs as we want to save current tmp settings immediately
|
||||
from files import wipe_flash_filesystem
|
||||
wipe_flash_filesystem(True)
|
||||
wipe_flash_filesystem()
|
||||
|
||||
dis.draw_status(bip39=0, tmp=0)
|
||||
dis.fullscreen('Saving...')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user