(cherry picked from commit 07bac27ac7
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com>
This commit is contained in:
@ -677,14 +677,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