Remove some dbg, println (#675)

This commit is contained in:
Paul Hauner 2019-12-07 07:29:20 +11:00 committed by GitHub
parent bd1b61a5b1
commit d4b28d48f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,7 +159,7 @@ impl<E: EthSpec> Store<E> for HotColdDB<E> {
for (state_root, slot) in
state_root_iter.take_while(|&(_, slot)| slot >= current_split_slot)
{
if slot % dbg!(store.slots_per_restore_point) == 0 {
if slot % store.slots_per_restore_point == 0 {
let state: BeaconState<E> = store
.hot_db
.get_state(&state_root, None)?
@ -264,7 +264,6 @@ impl<E: EthSpec> HotColdDB<E> {
"slot" => state.slot,
"state_root" => format!("{:?}", state_root)
);
println!("Creating restore point {}", state.slot);
// 1. Convert to PartialBeaconState and store that in the DB.
let partial_state = PartialBeaconState::from_state_forgetful(state);