use Debugf instead of strconv

This commit is contained in:
Ian Norden
2019-12-02 23:37:01 -06:00
parent 5a1f599a4d
commit 74a90fd124
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -18,7 +18,6 @@ package watcher
import (
"fmt"
"strconv"
"time"
"github.com/ethereum/go-ethereum/common"
@@ -124,7 +123,7 @@ func (storageWatcher StorageWatcher) processRow(diff utils.StorageDiff) {
}
return
}
logrus.Debug("Storage diff persisted at block height: " + strconv.Itoa(diff.BlockHeight))
logrus.Debugf("Storage diff persisted at block height: %d", diff.BlockHeight)
}
func (storageWatcher StorageWatcher) processQueue() {