htlcswitch: Fix typo in logging
Because the .String() method of an amount already includes a unit string ("BTC" usually), it was printing "0.00000001 BTC satoshi".
This commit is contained in:
parent
9f85eadde1
commit
09719626e5
@ -723,9 +723,10 @@ func (s *Switch) htlcForwarder() {
|
||||
|
||||
// Otherwise, we'll log this diff, then accumulate the
|
||||
// new stats into the running total.
|
||||
log.Infof("Sent %v satoshis received %v satoshi "+
|
||||
log.Infof("Sent %v satoshis received %v satoshis "+
|
||||
"in the last 10 seconds (%v tx/sec)",
|
||||
diffSatSent, diffSatRecv, float64(diffNumUpdates)/10)
|
||||
int64(diffSatSent), int64(diffSatRecv),
|
||||
float64(diffNumUpdates)/10)
|
||||
|
||||
totalNumUpdates += diffNumUpdates
|
||||
totalSatSent += diffSatSent
|
||||
|
Loading…
Reference in New Issue
Block a user