Use option for account index bucket parameter (#19150)

This commit is contained in:
Jeff Washington (jwash)
2021-08-10 11:32:25 -05:00
committed by GitHub
parent 8557dac51d
commit 651343688d
12 changed files with 33 additions and 32 deletions

View File

@@ -191,7 +191,7 @@ mod tests {
check_hash_calculation,
false,
false,
solana_runtime::accounts_index::BINS_FOR_TESTING,
Some(solana_runtime::accounts_index::BINS_FOR_TESTING),
)
.unwrap();
@@ -808,7 +808,7 @@ mod tests {
false,
false,
false,
solana_runtime::accounts_index::BINS_FOR_TESTING,
Some(solana_runtime::accounts_index::BINS_FOR_TESTING),
)?;
assert_eq!(bank, &deserialized_bank);