Fix minor type in informant (#3056)

This commit is contained in:
Gav Wood 2016-11-01 22:44:24 +01:00 committed by GitHub
parent efbbe507ee
commit 94e3a98524

View File

@ -194,7 +194,7 @@ impl ChainNotify for Informant {
let header = view.header();
let tx_count = view.transactions_count();
let size = block.len();
let (skipped, skipped_txs) = (self.skipped.load(AtomicOrdering::Relaxed) + imported.len() - 1, self.skipped.load(AtomicOrdering::Relaxed) + txs_imported);
let (skipped, skipped_txs) = (self.skipped.load(AtomicOrdering::Relaxed) + imported.len() - 1, self.skipped_txs.load(AtomicOrdering::Relaxed) + txs_imported);
info!(target: "import", "Imported {} {} ({} txs, {} Mgas, {} ms, {} KiB){}",
Colour::White.bold().paint(format!("#{}", header.number())),
Colour::White.bold().paint(format!("{}", header.hash())),