Skip to content

Commit

Permalink
chain: downgrade loggings used in getRawMempool
Browse files Browse the repository at this point in the history
  • Loading branch information
yyforyongyu committed Mar 13, 2024
1 parent 0b4a454 commit cb79632
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chain/mempool.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,9 +505,9 @@ func (m *mempool) getRawMempool() ([]*chainhash.Hash, error) {
func (m *mempool) batchGetRawTxes(txids []*chainhash.Hash,
returnNew bool) ([]*wire.MsgTx, error) {

log.Debugf("Batching GetRawTransaction in %v batches...",
log.Tracef("Batching GetRawTransaction in %v batches...",
uint32(len(txids))/m.cfg.getRawTxBatchSize+1)
defer log.Debugf("Finished batch GetRawTransaction")
defer log.Tracef("Finished batch GetRawTransaction")

// txRecievers defines a map that has the txid as its key and the tx's
// response reciever as its value.
Expand Down

0 comments on commit cb79632

Please sign in to comment.