Fix minor type in informant (#3056)
This commit is contained in:
parent
efbbe507ee
commit
94e3a98524
@ -194,7 +194,7 @@ impl ChainNotify for Informant {
|
|||||||
let header = view.header();
|
let header = view.header();
|
||||||
let tx_count = view.transactions_count();
|
let tx_count = view.transactions_count();
|
||||||
let size = block.len();
|
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){}",
|
info!(target: "import", "Imported {} {} ({} txs, {} Mgas, {} ms, {} KiB){}",
|
||||||
Colour::White.bold().paint(format!("#{}", header.number())),
|
Colour::White.bold().paint(format!("#{}", header.number())),
|
||||||
Colour::White.bold().paint(format!("{}", header.hash())),
|
Colour::White.bold().paint(format!("{}", header.hash())),
|
||||||
|
Loading…
Reference in New Issue
Block a user