diff --git a/runtime/src/serde_snapshot.rs b/runtime/src/serde_snapshot.rs index 787c56b84..017428f63 100644 --- a/runtime/src/serde_snapshot.rs +++ b/runtime/src/serde_snapshot.rs @@ -629,9 +629,7 @@ pub(crate) fn reconstruct_single_storage( current_len: usize, append_vec_id: AppendVecId, ) -> Result, SnapshotError> { - let (accounts_file, num_accounts) = - AccountsFile::new_from_file(append_vec_path, current_len) - .map_err(|err| io::Error::new(io::ErrorKind::Other, format!("{}", err)))?; + let (accounts_file, num_accounts) = AccountsFile::new_from_file(append_vec_path, current_len)?; Ok(Arc::new(AccountStorageEntry::new_existing( *slot, append_vec_id,