Skip to content

Commit 68209b1

Browse files
committed
fix lint
1 parent ed1c1d0 commit 68209b1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

p2p/snap_server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package p2p
22

33
import (
4+
"iter"
45
"math/big"
56

67
"github.com/NethermindEth/juno/adapters/core2p2p"
@@ -13,7 +14,6 @@ import (
1314
"github.com/NethermindEth/juno/utils"
1415
"github.com/ethereum/go-ethereum/log"
1516
"google.golang.org/protobuf/proto"
16-
"iter"
1717
)
1818

1919
type ContractRangeStreamingResult struct {

utils/log.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,10 @@ func (l *ZapLogger) Tracew(msg string, keysAndValues ...interface{}) {
121121
}
122122
}
123123

124-
var _ Logger = (*ZapLogger)(nil)
125-
var _ SimpleLogger = (*ZapLogger)(nil)
124+
var (
125+
_ Logger = (*ZapLogger)(nil)
126+
_ SimpleLogger = (*ZapLogger)(nil)
127+
)
126128

127129
func NewNopZapLogger() *ZapLogger {
128130
return &ZapLogger{zap.NewNop().Sugar()}

0 commit comments

Comments
 (0)