Only serialize rooted append vecs (#7281) (#7307)

automerge
This commit is contained in:
mergify[bot]
2019-12-05 15:02:56 -08:00
committed by Grimes
parent a2c4a70fbf
commit 5ce21827c8
4 changed files with 57 additions and 31 deletions

View File

@@ -86,7 +86,7 @@ pub fn package_snapshot<P: AsRef<Path>, Q: AsRef<Path>>(
// Get a reference to all the relevant AccountStorageEntries
let account_storage_entries: Vec<_> = bank
.rc
.get_storage_entries()
.get_rooted_storage_entries()
.into_iter()
.filter(|x| x.slot_id() <= bank.slot())
.collect();