add text to assert (#27377)

This commit is contained in:
Jeff Washington (jwash) 2022-08-24 14:11:53 -05:00 committed by GitHub
parent 9866510ef2
commit 2da93bd45a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -192,7 +192,10 @@ impl AccountsHashVerifier {
);
}
assert_eq!(accounts_package.expected_capitalization, lamports);
assert_eq!(
accounts_package.expected_capitalization, lamports,
"accounts hash capitalization mismatch"
);
if let Some(expected_hash) = accounts_package.accounts_hash_for_testing {
assert_eq!(expected_hash, accounts_hash);
};