calculate_capitalization uses hash calculation (#17443)
* calculate_capitalization uses hash calculation * feedback * remove debugging code, clean up slot math
This commit is contained in:
committed by
GitHub
parent
2dc6969858
commit
d4cc975fe9
@ -783,7 +783,8 @@ fn open_genesis_config_by(ledger_path: &Path, matches: &ArgMatches<'_>) -> Genes
|
||||
}
|
||||
|
||||
fn assert_capitalization(bank: &Bank) {
|
||||
assert!(bank.calculate_and_verify_capitalization());
|
||||
let debug_verify = true;
|
||||
assert!(bank.calculate_and_verify_capitalization(debug_verify));
|
||||
}
|
||||
|
||||
#[allow(clippy::cognitive_complexity)]
|
||||
|
Reference in New Issue
Block a user