mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-23 15:08:19 +00:00
WIP - assume False as a default bool value, not None
This commit is contained in:
parent
fd2d8ada3d
commit
6e929e4920
@ -167,7 +167,8 @@ impl Field<bool> {
|
||||
if let Some(result) = self.get() {
|
||||
Ok(result.into())
|
||||
} else {
|
||||
Ok(NONE)
|
||||
// If nothing there, assume false
|
||||
Ok(false.into())
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user