eah: Add log in bank (#28110)

This commit is contained in:
Brooks Prumo 2022-09-28 14:45:42 -04:00 committed by GitHub
parent 48143a78af
commit e6b237c2e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -6883,6 +6883,8 @@ impl Bank {
// for this value to be `Some`.
if let Some(epoch_accounts_hash) = epoch_accounts_hash {
hash = hashv(&[hash.as_ref(), epoch_accounts_hash.as_ref().as_ref()]);
} else {
warn!("bank {}: epoch_accounts_hash was None but should have been included in this bank's hash!", self.slot());
}
}