From d4b28d48f86e4d5e0110aa4d6fd02780a6d15388 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Sat, 7 Dec 2019 07:29:20 +1100 Subject: [PATCH] Remove some dbg, println (#675) --- beacon_node/store/src/hot_cold_store.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/beacon_node/store/src/hot_cold_store.rs b/beacon_node/store/src/hot_cold_store.rs index 5e72ea879..06c268689 100644 --- a/beacon_node/store/src/hot_cold_store.rs +++ b/beacon_node/store/src/hot_cold_store.rs @@ -159,7 +159,7 @@ impl Store for HotColdDB { 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 = store .hot_db .get_state(&state_root, None)? @@ -264,7 +264,6 @@ impl HotColdDB { "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);