mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 23:51:01 +00:00
grandpa: fix broken line breaks in logging (#9179)
This commit is contained in:
@@ -295,8 +295,7 @@ where
|
||||
|
||||
debug!(
|
||||
target: "afg",
|
||||
"Inserting potential standard set change signaled at block {:?} (delayed by {:?}
|
||||
blocks).",
|
||||
"Inserting potential standard set change signaled at block {:?} (delayed by {:?} blocks).",
|
||||
(&number, &hash),
|
||||
pending.delay,
|
||||
);
|
||||
@@ -310,7 +309,7 @@ where
|
||||
|
||||
debug!(
|
||||
target: "afg",
|
||||
"There are now {} alternatives for the next pending standard change (roots), and a
|
||||
"There are now {} alternatives for the next pending standard change (roots), and a \
|
||||
total of {} pending standard changes (across all forks).",
|
||||
self.pending_standard_changes.roots().count(),
|
||||
self.pending_standard_changes.iter().count(),
|
||||
|
||||
@@ -372,9 +372,8 @@ where
|
||||
self.inner.header(BlockId::Number(canon_number))
|
||||
.map_err(|e| ConsensusError::ClientImport(e.to_string()))?
|
||||
.expect(
|
||||
"the given block number is less or equal than the current best
|
||||
finalized number; current best finalized number must exist in
|
||||
chain; qed."
|
||||
"the given block number is less or equal than the current best finalized number; \
|
||||
current best finalized number must exist in chain; qed."
|
||||
)
|
||||
.hash();
|
||||
|
||||
|
||||
@@ -945,7 +945,7 @@ where
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
let authorities = serde_json::to_string(&authorities).expect(
|
||||
"authorities is always at least an empty vector; elements are always of type string",
|
||||
"authorities is always at least an empty vector; elements are always of type string; qed.",
|
||||
);
|
||||
|
||||
telemetry!(
|
||||
|
||||
Reference in New Issue
Block a user