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 and buck54321 committed Apr 21, 2024
1 parent 12af59c commit 62d2265
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 62d2265

Please sign in to comment.