further refactoring
This commit is contained in:
@@ -150,7 +150,7 @@ impl MathApp {
|
||||
return None;
|
||||
}
|
||||
|
||||
let (commit, cached_data) = crate::misc::hashed_storage_read(data);
|
||||
let (commit, cached_data) = crate::misc::hashed_storage_read(data)?;
|
||||
|
||||
debug_assert!(!commit.is_empty());
|
||||
debug_assert!(!cached_data.is_empty());
|
||||
@@ -188,7 +188,7 @@ impl MathApp {
|
||||
return None;
|
||||
}
|
||||
|
||||
let (commit, func_data) = crate::misc::hashed_storage_read(data);
|
||||
let (commit, func_data) = crate::misc::hashed_storage_read(data)?;
|
||||
|
||||
debug_assert!(!commit.is_empty());
|
||||
debug_assert!(!func_data.is_empty());
|
||||
|
||||
Reference in New Issue
Block a user