mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 02:49:55 +00:00
chore: enable dbg_macro lint (#12409)
This commit is contained in:
@ -175,6 +175,7 @@ branches_sharing_code = "warn"
|
|||||||
clear_with_drain = "warn"
|
clear_with_drain = "warn"
|
||||||
cloned_instead_of_copied = "warn"
|
cloned_instead_of_copied = "warn"
|
||||||
collection_is_never_read = "warn"
|
collection_is_never_read = "warn"
|
||||||
|
dbg_macro = "warn"
|
||||||
derive_partial_eq_without_eq = "warn"
|
derive_partial_eq_without_eq = "warn"
|
||||||
doc_markdown = "warn"
|
doc_markdown = "warn"
|
||||||
empty_line_after_doc_comments = "warn"
|
empty_line_after_doc_comments = "warn"
|
||||||
|
|||||||
@ -15,3 +15,4 @@ doc-valid-idents = [
|
|||||||
"WAL",
|
"WAL",
|
||||||
"MessagePack",
|
"MessagePack",
|
||||||
]
|
]
|
||||||
|
allow-dbg-in-tests = true
|
||||||
|
|||||||
@ -98,7 +98,10 @@ where
|
|||||||
database_hash: block_hash,
|
database_hash: block_hash,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Err(e) => return Err(dbg!(e).into()),
|
Err(e) => {
|
||||||
|
debug!(?e);
|
||||||
|
return Err(e.into());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
debug!("Writing genesis block.");
|
debug!("Writing genesis block.");
|
||||||
|
|||||||
@ -311,7 +311,6 @@ impl<T: TransactionOrdering> PendingPool<T> {
|
|||||||
|
|
||||||
// send the new transaction to any existing pendingpool static file iterators
|
// send the new transaction to any existing pendingpool static file iterators
|
||||||
if self.new_transaction_notifier.receiver_count() > 0 {
|
if self.new_transaction_notifier.receiver_count() > 0 {
|
||||||
dbg!("notify");
|
|
||||||
let _ = self.new_transaction_notifier.send(tx.clone());
|
let _ = self.new_transaction_notifier.send(tx.clone());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user