Skip to content

Commit

Permalink
please linter
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbitfly committed Feb 20, 2024
1 parent 833e9b0 commit 97ac344
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions backend/pkg/commons/erc20/erc20.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/gobitfly/beaconchain/pkg/commons/utils"
"github.com/shopspring/decimal"
"github.com/sirupsen/logrus"
)

var ERC20Abi, _ = abi.JSON(strings.NewReader(Erc20ABI))
Expand All @@ -20,8 +19,6 @@ var TransferTopic []byte = []byte{0xdd, 0xf2, 0x52, 0xad, 0x1b, 0xe2, 0xc8, 0x9b

var tokenMap = make(map[string]*ERC20TokenDetail)

var logger = logrus.StandardLogger().WithField("module", "erc20")

func InitTokenList(path string) {
body, err := os.ReadFile(path)
if err != nil {
Expand Down
2 changes: 0 additions & 2 deletions backend/pkg/commons/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ var (
}, []string{"channel", "status"})
)

var logger = logrus.New().WithField("module", "metrics")

func init() {
Version.WithLabelValues(version.Version).Set(1)
}
Expand Down

0 comments on commit 97ac344

Please sign in to comment.