mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 17:31:05 +00:00
Add emojis (#5420)
This commit is contained in:
@@ -68,9 +68,9 @@ impl<B: BlockT> InformantDisplay<B> {
|
||||
self.last_number = Some(best_number);
|
||||
|
||||
let (status, target) = match (net_status.sync_state, net_status.best_seen_block) {
|
||||
(SyncState::Idle, _) => ("Idle".into(), "".into()),
|
||||
(SyncState::Downloading, None) => (format!("Syncing{}", speed), "".into()),
|
||||
(SyncState::Downloading, Some(n)) => (format!("Syncing{}", speed), format!(", target=#{}", n)),
|
||||
(SyncState::Idle, _) => ("💤 Idle".into(), "".into()),
|
||||
(SyncState::Downloading, None) => (format!("⚙️ Syncing{}", speed), "".into()),
|
||||
(SyncState::Downloading, Some(n)) => (format!("⚙️ Syncing{}", speed), format!(", target=#{}", n)),
|
||||
};
|
||||
|
||||
if self.format == OutputFormat::Coloured {
|
||||
|
||||
@@ -79,7 +79,7 @@ pub fn build(service: &impl AbstractService, format: OutputFormat) -> impl futur
|
||||
|
||||
match maybe_ancestor {
|
||||
Ok(ref ancestor) if ancestor.hash != *last_hash => info!(
|
||||
"Reorg from #{},{} to #{},{}, common ancestor #{},{}",
|
||||
"♻️ Reorg from #{},{} to #{},{}, common ancestor #{},{}",
|
||||
last_num, last_hash,
|
||||
n.header.number(), n.hash,
|
||||
ancestor.number, ancestor.hash,
|
||||
@@ -94,7 +94,7 @@ pub fn build(service: &impl AbstractService, format: OutputFormat) -> impl futur
|
||||
last_best = Some((n.header.number().clone(), n.hash.clone()));
|
||||
}
|
||||
|
||||
info!(target: "substrate", "Imported #{} ({})", n.header.number(), n.hash);
|
||||
info!(target: "substrate", "✨ Imported #{} ({})", n.header.number(), n.hash);
|
||||
future::ready(())
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user