Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
expect only 1 store per slot (#28844)
Browse files Browse the repository at this point in the history
expect only 1 store per slot in shrink
  • Loading branch information
jeffwashington authored Nov 23, 2022
1 parent 04016e3 commit 9a24743
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3881,6 +3881,8 @@ impl AccountsDb {
.bytes_written
.fetch_add(aligned_total, Ordering::Relaxed);

assert_eq!(store_ids.len(), 1);

ShrinkCollect {
store_ids,
original_bytes,
Expand Down

0 comments on commit 9a24743

Please sign in to comment.