Fix nightly build

This commit is contained in:
Greg Fitzgerald 2018-05-03 09:38:59 -06:00
parent 6acaffe581
commit ae29c9b4a0
1 changed files with 2 additions and 1 deletions

View File

@ -759,6 +759,7 @@ mod bench {
use signature::{KeyPair, KeyPairUtil};
use std::collections::HashSet;
use std::io::sink;
use std::sync::mpsc::sync_channel;
use std::time::Instant;
use transaction::Transaction;
@ -814,7 +815,7 @@ mod bench {
let tps = txs as f64 / sec;
// Ensure that all transactions were successfully logged.
drop(input);
drop(skel.historian_input);
let entries: Vec<Entry> = skel.historian.output.iter().collect();
assert_eq!(entries.len(), 1);
assert_eq!(entries[0].events.len(), txs as usize);