Fix local cluster test, check for accounts hash (#8411)

This commit is contained in:
sakridge 2020-02-24 10:23:47 -08:00 committed by GitHub
parent 947a339714
commit b106d3ba60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -70,7 +70,10 @@ pub fn load(
)
.expect("Load from snapshot failed");
let snapshot_hash = (deserialized_bank.slot(), deserialized_bank.hash());
let snapshot_hash = (
deserialized_bank.slot(),
deserialized_bank.get_accounts_hash(),
);
return to_loadresult(
blockstore_processor::process_blockstore_from_root(
genesis_config,