fix minor bug
This commit is contained in:
parent
9e768dc2ba
commit
de39842049
@ -5,7 +5,6 @@ import (
|
|||||||
|
|
||||||
"github.com/ethereum/go-ethereum/common"
|
"github.com/ethereum/go-ethereum/common"
|
||||||
"github.com/ethereum/go-ethereum/core/types"
|
"github.com/ethereum/go-ethereum/core/types"
|
||||||
// "github.com/jmoiron/sqlx"
|
|
||||||
|
|
||||||
snapt "github.com/vulcanize/eth-pg-ipfs-state-snapshot/pkg/types"
|
snapt "github.com/vulcanize/eth-pg-ipfs-state-snapshot/pkg/types"
|
||||||
)
|
)
|
||||||
|
@ -285,7 +285,7 @@ func (p *publisher) logNodeCounters() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (p *publisher) printNodeCounters(msg string) {
|
func (p *publisher) printNodeCounters(msg string) {
|
||||||
log.WithFields(log.Fields{
|
logrus.WithFields(logrus.Fields{
|
||||||
"runtime": time.Now().Sub(p.startTime).String(),
|
"runtime": time.Now().Sub(p.startTime).String(),
|
||||||
"state nodes": atomic.LoadUint64(&p.stateNodeCounter),
|
"state nodes": atomic.LoadUint64(&p.stateNodeCounter),
|
||||||
"storage nodes": atomic.LoadUint64(&p.storageNodeCounter),
|
"storage nodes": atomic.LoadUint64(&p.storageNodeCounter),
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
package mock
|
package mock
|
||||||
|
|
||||||
import "fmt"
|
import (
|
||||||
import "github.com/golang/mock/gomock"
|
"fmt"
|
||||||
|
|
||||||
|
"github.com/golang/mock/gomock"
|
||||||
|
)
|
||||||
|
|
||||||
type anyOfMatcher struct {
|
type anyOfMatcher struct {
|
||||||
values []interface{}
|
values []interface{}
|
||||||
|
Loading…
Reference in New Issue
Block a user