remove antiquated assert (#17643)
This commit is contained in:
committed by
GitHub
parent
eec996ba41
commit
07bac27ac7
@ -687,14 +687,6 @@ impl AccountsHash {
|
|||||||
i = k;
|
i = k;
|
||||||
look_for_first_key = false;
|
look_for_first_key = false;
|
||||||
continue 'outer;
|
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
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user