Address some review comments

This commit is contained in:
pawan
2020-05-22 20:47:24 +05:30
parent 99a9edf7d5
commit d3f73a354d
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ use std::time::Duration;
use tokio::time::{interval_at, Instant};
/// Spawns a timer service which periodically executes tasks for the beacon chain
pub fn spawn<T: BeaconChainTypes>(
pub fn spawn_timer<T: BeaconChainTypes>(
executor: environment::TaskExecutor,
beacon_chain: Arc<BeaconChain<T>>,
milliseconds_per_slot: u64,