log mismatch (#17209)
This commit is contained in:
parent
76dfacca61
commit
c6f7867aa1
|
@ -3988,6 +3988,7 @@ impl AccountsDb {
|
||||||
let computed_hash =
|
let computed_hash =
|
||||||
loaded_account.compute_hash(*slot, pubkey);
|
loaded_account.compute_hash(*slot, pubkey);
|
||||||
if computed_hash != loaded_hash {
|
if computed_hash != loaded_hash {
|
||||||
|
info!("hash mismatch found: computed: {}, loaded: {}, pubkey: {}", computed_hash, loaded_hash, pubkey);
|
||||||
mismatch_found
|
mismatch_found
|
||||||
.fetch_add(1, Ordering::Relaxed);
|
.fetch_add(1, Ordering::Relaxed);
|
||||||
return None;
|
return None;
|
||||||
|
|
Loading…
Reference in New Issue