mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-28 14:57:17 +00:00
Clean println's out of state processing
This commit is contained in:
parent
ca18d4390a
commit
430702b38d
@ -596,7 +596,6 @@ where
|
||||
|
||||
// Transition the parent state to the present slot.
|
||||
let mut state = parent_state;
|
||||
println!("parent process state: {:?}", state.latest_block_header);
|
||||
let previous_block_header = parent_block.into_header();
|
||||
for _ in state.slot.as_u64()..present_slot.as_u64() {
|
||||
if let Err(e) = per_slot_processing(&mut state, &previous_block_header, &self.spec) {
|
||||
@ -614,8 +613,6 @@ where
|
||||
));
|
||||
}
|
||||
|
||||
println!("process state: {:?}", state.latest_block_header);
|
||||
|
||||
let state_root = state.canonical_root();
|
||||
|
||||
if block.state_root != state_root {
|
||||
@ -706,8 +703,6 @@ where
|
||||
|
||||
per_block_processing_without_verifying_block_signature(&mut state, &block, &self.spec)?;
|
||||
|
||||
println!("produce state: {:?}", state.latest_block_header);
|
||||
|
||||
let state_root = state.canonical_root();
|
||||
|
||||
block.state_root = state_root;
|
||||
|
Loading…
Reference in New Issue
Block a user