Clean up validator output

This commit is contained in:
Age Manning 2019-03-29 00:45:39 +11:00
parent 1e760d6719
commit 405ea619e2
No known key found for this signature in database
GPG Key ID: 05EED64B79E06A93

View File

@ -235,7 +235,7 @@ impl Service {
"The Timer should poll a new slot"
);
info!(log, "Processing slot: {}", current_slot.as_u64());
info!(log, "Processing"; "slot" => current_slot.as_u64(), "epoch" => current_epoch.as_u64());
/* check for new duties */
@ -243,8 +243,7 @@ impl Service {
let cloned_log = log.clone();
// spawn a new thread separate to the runtime
std::thread::spawn(move || {
cloned_manager.run_update(current_epoch.clone(), cloned_log.clone());
dbg!("Finished thread");
let _empty_error = cloned_manager.run_update(current_epoch.clone(), cloned_log.clone());
});
/* execute any specified duties */