mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 21:21:11 +00:00
depend-o-pocalipse (#9450)
Remove unneeded dependencies and dev-dependencies. Made self_destruct test not dependent on wasm bin size. Updated code related to deprecated warning on tracing-subscriber `scope()` ( See https://github.com/tokio-rs/tracing/issues/1429 )
This commit is contained in:
@@ -93,8 +93,7 @@ where
|
||||
|
||||
// Custom code to display node name
|
||||
if let Some(span) = ctx.lookup_current() {
|
||||
let parents = span.parents();
|
||||
for span in std::iter::once(span).chain(parents) {
|
||||
for span in span.scope() {
|
||||
let exts = span.extensions();
|
||||
if let Some(prefix) = exts.get::<super::layers::Prefix>() {
|
||||
write!(writer, "{}", prefix.as_str())?;
|
||||
|
||||
Reference in New Issue
Block a user