remove index hash calculation as an option (#23928)

This commit is contained in:
Jeff Washington (jwash)
2022-03-25 15:32:53 -05:00
committed by GitHub
parent ec78702bc8
commit c24de17278
8 changed files with 13 additions and 24 deletions

View File

@ -265,8 +265,7 @@ mod tests {
// set_root should send a snapshot request
bank_forks.set_root(bank.slot(), &request_sender, None);
bank.update_accounts_hash();
snapshot_request_handler
.handle_snapshot_requests(false, false, false, 0, &mut None);
snapshot_request_handler.handle_snapshot_requests(false, false, 0, &mut None);
}
}
@ -707,7 +706,6 @@ mod tests {
bank_forks.set_root(bank.slot(), &request_sender, None);
bank.update_accounts_hash();
snapshot_request_handler.handle_snapshot_requests(
false,
false,
false,
0,
@ -947,7 +945,6 @@ mod tests {
&exit,
abs_request_handler,
false,
false,
true,
None,
);