Skip to content

Commit

Permalink
Merge pull request #156 from wpaulino/log-demote-debug
Browse files Browse the repository at this point in the history
multi: demote benign logs to debug
  • Loading branch information
halseth committed Jun 19, 2019
2 parents 48ae898 + ffc7c0f commit 20e6442
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions batch_spend_reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ func (b *batchSpendReporter) findInitialTransactions(block *wire.MsgBlock,
tx, ok := initialTxns[req.Input.OutPoint]
switch {
case !ok:
log.Errorf("Failed to find outpoint %s -- "+
"txid not found in block", req.Input.OutPoint)
log.Debugf("Outpoint %v not found in block %d ",
req.Input.OutPoint, height)
initialTxns[req.Input.OutPoint] = nil
case tx != nil:
log.Tracef("Block %d creates output %s",
Expand Down
2 changes: 1 addition & 1 deletion query.go
Original file line number Diff line number Diff line change
Expand Up @@ -1342,7 +1342,7 @@ func (s *ChainService) sendTransaction(tx *wire.MsgTx, options ...QueryOption) e
// error as the reliable broadcaster will take care of broadcasting this
// transaction upon every block connected/disconnected.
if numReplied == 0 {
log.Warnf("No peers replied to inv message for transaction %v",
log.Debugf("No peers replied to inv message for transaction %v",
tx.TxHash())
return nil
}
Expand Down

0 comments on commit 20e6442

Please sign in to comment.