Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
aeyakovenko committed Mar 2, 2019
1 parent c581faa commit 52bd20d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/replay_stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,8 @@ impl ReplayStage {
cluster_info.write().unwrap().push_vote(vote);
}
if next_leader == my_id {
let mut wforks = bank_forks.write().unwrap();
let tpu_bank = Bank::new_from_parent_and_id(&parent, my_id, next_slot);
wforks.insert(next_slot, tpu_bank);
bank_forks.write().unwrap().insert(next_slot, tpu_bank);
}
debug!(
"to_leader_sender: me: {} next_slot: {} next_leader: {}",
Expand Down

0 comments on commit 52bd20d

Please sign in to comment.