Merge pull request #2136 from alexbosworth/patch-6

htlcswitch: Limit low-signal tps log statement to debug log
This commit is contained in:
Olaoluwa Osuntokun
2018-11-02 14:58:07 -07:00
committed by GitHub

View File

@ -1671,7 +1671,7 @@ out:
// Otherwise, we'll log this diff, then accumulate the // Otherwise, we'll log this diff, then accumulate the
// new stats into the running total. // new stats into the running total.
log.Infof("Sent %d satoshis and received %d satoshis "+ log.Debugf("Sent %d satoshis and received %d satoshis "+
"in the last 10 seconds (%f tx/sec)", "in the last 10 seconds (%f tx/sec)",
diffSatSent, diffSatRecv, diffSatSent, diffSatRecv,
float64(diffNumUpdates)/10) float64(diffNumUpdates)/10)