Skip to content

Commit a33e97e

Browse files
committed
Display warning message with just the number of transactions
The full list of txids can get pretty huge and is not really useful.
1 parent d1fd717 commit a33e97e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/new_index/mempool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ impl Mempool {
291291
let to_add = match daemon.gettransactions(&txids) {
292292
Ok(txs) => txs,
293293
Err(err) => {
294-
warn!("failed to get transactions {:?}: {}", txids, err); // e.g. new block or RBF
294+
warn!("failed to get {} transactions: {}", txids.len(), err); // e.g. new block or RBF
295295
return Ok(()); // keep the mempool until next update()
296296
}
297297
};

0 commit comments

Comments
 (0)