Skip to content

Commit

Permalink
dcrd: Switch getdata log from trace to debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
dajohi committed May 29, 2024
1 parent 56caf40 commit 41fefdd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ func (sp *serverPeer) handleServeGetData(invVects []*wire.InvVect,
txHash := &iv.Hash
tx, err := sp.server.txMemPool.FetchTransaction(txHash)
if err != nil {
peerLog.Tracef("Unable to fetch tx %v from transaction pool: %v",
peerLog.Debugf("Unable to fetch tx %v from transaction pool: %v",
txHash, err)
break
}
Expand All @@ -693,7 +693,7 @@ func (sp *serverPeer) handleServeGetData(invVects []*wire.InvVect,
blockHash := &iv.Hash
block, err := sp.server.chain.BlockByHash(blockHash)
if err != nil {
peerLog.Tracef("Unable to fetch requested block hash %v: %v",
peerLog.Debugf("Unable to fetch requested block hash %v: %v",
blockHash, err)
break
}
Expand Down Expand Up @@ -721,8 +721,8 @@ func (sp *serverPeer) handleServeGetData(invVects []*wire.InvVect,
mixHash := &iv.Hash
msg, err := sp.server.mixMsgPool.Message(mixHash)
if err != nil {
peerLog.Tracef("Unable to fetch requested mix message %v: %v",
mixHash, err)
peerLog.Debugf("Unable to fetch requested mix message %v from %v: %v",
mixHash, sp, err)
break
}
dataMsg = msg
Expand Down

0 comments on commit 41fefdd

Please sign in to comment.