chore: enable dbg_macro lint (#12409)

This commit is contained in:
Hai | RISE
2024-11-08 22:03:29 +07:00
committed by GitHub
parent 86230d9962
commit 0da914eaeb
4 changed files with 6 additions and 2 deletions

View File

@@ -98,7 +98,10 @@ where
database_hash: block_hash,
})
}
Err(e) => return Err(dbg!(e).into()),
Err(e) => {
debug!(?e);
return Err(e.into());
}
}
debug!("Writing genesis block.");

View File

@@ -311,7 +311,6 @@ impl<T: TransactionOrdering> PendingPool<T> {
// send the new transaction to any existing pendingpool static file iterators
if self.new_transaction_notifier.receiver_count() > 0 {
dbg!("notify");
let _ = self.new_transaction_notifier.send(tx.clone());
}