change pubkey to ref

This commit is contained in:
Pankaj Garg
2019-03-20 14:23:58 -07:00
committed by Grimes
parent 4db72d85d7
commit f402139991
4 changed files with 24 additions and 24 deletions

View File

@@ -113,7 +113,7 @@ impl Fullnode {
bank.slot(),
leader_schedule_utils::next_leader_slot(&id, bank.slot(), &bank),
bank.ticks_per_slot(),
id,
&id,
);
let poh_recorder = Arc::new(Mutex::new(poh_recorder));
let poh_service = PohService::new(poh_recorder.clone(), &config.tick_config, &exit);