Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaiba committed Feb 20, 2025
1 parent fba0ec0 commit b0ee050
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ type ERC20BridgeConfig struct {
}

func (cfg ERC20BridgeConfig) Validate() error {
for chain, _ := range cfg.Signer {
for chain := range cfg.Signer {
if _, ok := cfg.RPC[chain]; !ok {
return fmt.Errorf("signer service: chain '%s' is not in rpc", chain)
}
Expand Down
2 changes: 1 addition & 1 deletion node/exts/erc20-bridge/signersvc/multicall.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"

"github.com/kwilteam/kwil-db/node/exts/erc20-bridge/abigen"
)

Expand Down
2 changes: 1 addition & 1 deletion node/exts/evm-sync/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"encoding/binary"
"errors"
"fmt"
"github.com/kwilteam/kwil-db/config"
"io"
"sort"
"strconv"
Expand All @@ -18,6 +17,7 @@ import (
"github.com/ethereum/go-ethereum/ethclient"

"github.com/kwilteam/kwil-db/common"
"github.com/kwilteam/kwil-db/config"
"github.com/kwilteam/kwil-db/core/log"
"github.com/kwilteam/kwil-db/extensions/listeners"
"github.com/kwilteam/kwil-db/node/exts/evm-sync/chains"
Expand Down

0 comments on commit b0ee050

Please sign in to comment.