Skip to content

Commit

Permalink
Display warning message with just the number of transactions
Browse files Browse the repository at this point in the history
The full list of txids can get pretty huge and is not really useful.
  • Loading branch information
shesek committed Feb 20, 2021
1 parent d1fd717 commit a33e97e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/new_index/mempool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ impl Mempool {
let to_add = match daemon.gettransactions(&txids) {
Ok(txs) => txs,
Err(err) => {
warn!("failed to get transactions {:?}: {}", txids, err); // e.g. new block or RBF
warn!("failed to get {} transactions: {}", txids.len(), err); // e.g. new block or RBF
return Ok(()); // keep the mempool until next update()
}
};
Expand Down

0 comments on commit a33e97e

Please sign in to comment.