Start saving/loading prior_roots(_with_hash) to snapshot (#23844)
* Start saving/loading prior_roots(_with_hash) to snapshot * Update runtime/src/accounts_index.rs Co-authored-by: Michael Vines <mvines@gmail.com> * Update runtime/src/accounts_index.rs Co-authored-by: Michael Vines <mvines@gmail.com> * update comment Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
committed by
GitHub
parent
b22165ad69
commit
396b49a7c1
@ -12,6 +12,7 @@ where
|
||||
let result = T::deserialize(d);
|
||||
match result {
|
||||
Err(err) if err.to_string() == "io error: unexpected end of file" => Ok(T::default()),
|
||||
Err(err) if err.to_string() == "io error: failed to fill whole buffer" => Ok(T::default()),
|
||||
result => result,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user