remove antiquated assert (#17643)

This commit is contained in:
Jeff Washington (jwash) 2021-06-02 09:47:26 -05:00 committed by GitHub
parent eec996ba41
commit 07bac27ac7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -687,14 +687,6 @@ impl AccountsHash {
i = k;
look_for_first_key = false;
continue 'outer;
} else {
let prev = &slice[k - 1];
assert!(
!(prev.slot == now.slot
&& prev.version == now.version
&& (prev.hash != now.hash || prev.lamports != now.lamports)),
"Conflicting store data. Pubkey: {}, Slot: {}, Version: {}, Hashes: {}, {}, Lamports: {}, {}", now.pubkey, now.slot, now.version, prev.hash, now.hash, prev.lamports, now.lamports
);
}
}