Skip to content

Commit

Permalink
Remove redundant Tick
Browse files Browse the repository at this point in the history
  • Loading branch information
garious committed May 9, 2018
1 parent ebbdef0 commit 9040c04
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/tpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,6 @@ mod tests {
use logger;
use mint::Mint;
use plan::Plan;
use recorder::Signal;
use signature::{KeyPair, KeyPairUtil};
use std::collections::VecDeque;
use std::io::sink;
Expand Down Expand Up @@ -860,11 +859,6 @@ mod tests {
assert!(tpu.process_events(events).is_ok());

// Collect the ledger and feed it to a new accountant.
tpu.historian_input
.lock()
.unwrap()
.send(Signal::Tick)
.unwrap();
drop(tpu.historian_input);
let entries: Vec<Entry> = tpu.historian.output.lock().unwrap().iter().collect();

Expand Down

0 comments on commit 9040c04

Please sign in to comment.