Skip to content

Commit

Permalink
Merge pull request btcsuite#917 from yyforyongyu/downgrade-log
Browse files Browse the repository at this point in the history
chain: downgrade loggings used in `getRawMempool`
  • Loading branch information
guggero authored Mar 14, 2024
2 parents 0b4a454 + cb79632 commit 26b9abb
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 26b9abb

Please sign in to comment.