Skip to content

Commit

Permalink
fix print
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry-yu committed Oct 21, 2019
1 parent 294b526 commit 426b688
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cita-auth/src/dispatcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ impl Dispatcher {
}

pub fn add_tx_to_pool(&self, tx: &SignedTransaction) -> bool {
info!("add tx {} to pool", tx.get_tx_hash().lower_hex());
trace!("add tx {} to pool", tx.get_tx_hash().lower_hex());
let txs_pool = &mut self.txs_pool.borrow_mut();
let success = txs_pool.enqueue(tx.clone());
if self.wal_enable {
Expand All @@ -145,7 +145,7 @@ impl Dispatcher {
let added: Vec<SignedTransaction> = txs
.into_iter()
.filter(|tx| {
info!("add txs {} to pool", tx.get_tx_hash().lower_hex());
trace!("add txs {} to pool", tx.get_tx_hash().lower_hex());
txs_pool.enqueue(tx.clone())
})
.collect();
Expand Down

0 comments on commit 426b688

Please sign in to comment.