(cherry picked from commit d802eb303c
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com>
This commit is contained in:
@ -4312,7 +4312,7 @@ impl AccountsDb {
|
||||
|loaded_account: LoadedAccount,
|
||||
accum: &mut Vec<Vec<CalculateHashIntermediate>>,
|
||||
slot: Slot| {
|
||||
let pubkey = *loaded_account.pubkey();
|
||||
let pubkey = loaded_account.pubkey();
|
||||
let pubkey_to_bin_index = pubkey.as_ref()[0] as usize * bins / max_plus_1;
|
||||
if !bin_range.contains(&pubkey_to_bin_index) {
|
||||
return;
|
||||
@ -4332,7 +4332,7 @@ impl AccountsDb {
|
||||
loaded_account.loaded_hash(),
|
||||
balance,
|
||||
slot,
|
||||
pubkey,
|
||||
*pubkey,
|
||||
);
|
||||
|
||||
if check_hash {
|
||||
|
Reference in New Issue
Block a user