From 94e3a98524dc9f767e92a3817de18e22f7075588 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Tue, 1 Nov 2016 22:44:24 +0100 Subject: [PATCH] Fix minor type in informant (#3056) --- parity/informant.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parity/informant.rs b/parity/informant.rs index ae59cb9d0..d3e3c8a20 100644 --- a/parity/informant.rs +++ b/parity/informant.rs @@ -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())),