Skip to content
Snippets Groups Projects
Commit 3309c436 authored by Tomasz Drwięga's avatar Tomasz Drwięga Committed by GitHub
Browse files

Display nicer inspect results. (#8198)

parent a3d749f3
No related merge requests found
......@@ -73,7 +73,7 @@ impl<TBlock: Block> PrettyPrinter<TBlock> for DebugPrinter {
}
fn fmt_extrinsic(&self, fmt: &mut fmt::Formatter, extrinsic: &TBlock::Extrinsic) -> fmt::Result {
writeln!(fmt, " {:?}", extrinsic)?;
writeln!(fmt, " {:#?}", extrinsic)?;
writeln!(fmt, " Bytes: {:?}", HexDisplay::from(&extrinsic.encode()))?;
Ok(())
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment