From c3ac49eec357ebd61338ef18fbe360a48cdad078 Mon Sep 17 00:00:00 2001 From: Lucas Menendez Date: Thu, 18 Apr 2024 08:55:46 +0200 Subject: [PATCH] fix linter suggestions --- cmd/census3/main.go | 2 +- scanner/providers/web3/erc20_provider.go | 2 +- scanner/providers/web3/erc721_provider.go | 2 +- scanner/providers/web3/erc777_provider.go | 2 +- scanner/providers/web3/web3_provider.go | 2 +- scanner/scanner.go | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/census3/main.go b/cmd/census3/main.go index dece26f9..fa89e72c 100644 --- a/cmd/census3/main.go +++ b/cmd/census3/main.go @@ -15,6 +15,7 @@ import ( "github.com/spf13/viper" "github.com/vocdoni/census3/api" "github.com/vocdoni/census3/db" + "github.com/vocdoni/census3/helpers/web3" "github.com/vocdoni/census3/internal" "github.com/vocdoni/census3/scanner" "github.com/vocdoni/census3/scanner/providers/farcaster" @@ -23,7 +24,6 @@ import ( "github.com/vocdoni/census3/scanner/providers/manager" "github.com/vocdoni/census3/scanner/providers/poap" web3provider "github.com/vocdoni/census3/scanner/providers/web3" - "github.com/vocdoni/census3/helpers/web3" "go.vocdoni.io/dvote/log" ) diff --git a/scanner/providers/web3/erc20_provider.go b/scanner/providers/web3/erc20_provider.go index bfc9dd16..16ceabbe 100644 --- a/scanner/providers/web3/erc20_provider.go +++ b/scanner/providers/web3/erc20_provider.go @@ -10,8 +10,8 @@ import ( "github.com/ethereum/go-ethereum/common" erc20 "github.com/vocdoni/census3/contracts/erc/erc20" - "github.com/vocdoni/census3/scanner/providers" "github.com/vocdoni/census3/helpers/web3" + "github.com/vocdoni/census3/scanner/providers" "go.vocdoni.io/dvote/log" ) diff --git a/scanner/providers/web3/erc721_provider.go b/scanner/providers/web3/erc721_provider.go index fc6acbec..f83112a8 100644 --- a/scanner/providers/web3/erc721_provider.go +++ b/scanner/providers/web3/erc721_provider.go @@ -10,8 +10,8 @@ import ( "github.com/ethereum/go-ethereum/common" erc721 "github.com/vocdoni/census3/contracts/erc/erc721" - "github.com/vocdoni/census3/scanner/providers" "github.com/vocdoni/census3/helpers/web3" + "github.com/vocdoni/census3/scanner/providers" "go.vocdoni.io/dvote/log" ) diff --git a/scanner/providers/web3/erc777_provider.go b/scanner/providers/web3/erc777_provider.go index 9eefd1c4..b5b3fd6f 100644 --- a/scanner/providers/web3/erc777_provider.go +++ b/scanner/providers/web3/erc777_provider.go @@ -10,8 +10,8 @@ import ( "github.com/ethereum/go-ethereum/common" erc777 "github.com/vocdoni/census3/contracts/erc/erc777" - "github.com/vocdoni/census3/scanner/providers" "github.com/vocdoni/census3/helpers/web3" + "github.com/vocdoni/census3/scanner/providers" "go.vocdoni.io/dvote/log" ) diff --git a/scanner/providers/web3/web3_provider.go b/scanner/providers/web3/web3_provider.go index b1aae0eb..67111255 100644 --- a/scanner/providers/web3/web3_provider.go +++ b/scanner/providers/web3/web3_provider.go @@ -11,8 +11,8 @@ import ( "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - "github.com/vocdoni/census3/scanner/providers" "github.com/vocdoni/census3/helpers/web3" + "github.com/vocdoni/census3/scanner/providers" "go.vocdoni.io/dvote/db" "go.vocdoni.io/dvote/log" ) diff --git a/scanner/scanner.go b/scanner/scanner.go index 09937554..415c5215 100644 --- a/scanner/scanner.go +++ b/scanner/scanner.go @@ -16,9 +16,9 @@ import ( "github.com/vocdoni/census3/db" "github.com/vocdoni/census3/db/annotations" queries "github.com/vocdoni/census3/db/sqlc" + "github.com/vocdoni/census3/helpers/web3" "github.com/vocdoni/census3/scanner/providers/manager" web3provider "github.com/vocdoni/census3/scanner/providers/web3" - "github.com/vocdoni/census3/helpers/web3" "go.vocdoni.io/dvote/log" )