use Debugf instead of strconv
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user