diff --git a/shared/pincodes.py b/shared/pincodes.py index d2cea54f..bf2c9665 100644 --- a/shared/pincodes.py +++ b/shared/pincodes.py @@ -410,9 +410,13 @@ class PinAttempt: # Main secret has changed: reset the settings+their key, # and capture xfp/xpub # if None is provided as raw_secret -> restore to main seed + import glob from glob import settings, dis stash.SensitiveValues.clear_cache() + # invalidate descriptor cache - upon new secret load + glob.DESC_CACHE = {} + bypass_tmp = False stash.bip39_passphrase = bool(bip39pw)