From 04fbf73a29813364669b8f55b2b0abd0a0674cf3 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 2 Jun 2021 21:53:33 +0000 Subject: [PATCH] remove antiquated assert (#17643) (#17689) (cherry picked from commit 07bac27ac7d11dfc423c0700b63f9107d9d1e4ab) Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com> --- runtime/src/accounts_hash.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/runtime/src/accounts_hash.rs b/runtime/src/accounts_hash.rs index 5564bcb62b..8fb0f2e822 100644 --- a/runtime/src/accounts_hash.rs +++ b/runtime/src/accounts_hash.rs @@ -677,14 +677,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 - ); } }