wait for bg hash calc to complete before 'calculate_capitalization' (#27145)
This commit is contained in:
parent
f76f8d5d41
commit
3ad93c84b6
|
@ -794,6 +794,9 @@ impl Accounts {
|
||||||
) -> u64 {
|
) -> u64 {
|
||||||
let use_index = false;
|
let use_index = false;
|
||||||
let is_startup = true;
|
let is_startup = true;
|
||||||
|
self.accounts_db
|
||||||
|
.verify_accounts_hash_in_bg
|
||||||
|
.wait_for_complete();
|
||||||
self.accounts_db
|
self.accounts_db
|
||||||
.update_accounts_hash_with_index_option(
|
.update_accounts_hash_with_index_option(
|
||||||
use_index,
|
use_index,
|
||||||
|
|
Loading…
Reference in New Issue