trezor-firmware
trezor-firmware copied to clipboard
use `storage.cache.set_bool`
#3743 introduces storage.cache.set_bool() / get_bool() pair.
in a couple place we define a 1-sized flags in cache and then check them against "true byte".
we should replace them with 0-sized flags and use set_bool() and get_bool() to manage them