all: remove redundant import aliases (#29144)

pull/29151/head
Undefinedor 9 months ago committed by GitHub
parent 0b1438c3df
commit 00905f7dc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      cmd/geth/snapshot.go
  2. 2
      cmd/geth/verkle.go
  3. 2
      consensus/clique/clique.go
  4. 2
      eth/protocols/snap/metrics.go

@ -36,7 +36,7 @@ import (
"github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/rlp" "github.com/ethereum/go-ethereum/rlp"
"github.com/ethereum/go-ethereum/trie" "github.com/ethereum/go-ethereum/trie"
cli "github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
) )
var ( var (

@ -29,7 +29,7 @@ import (
"github.com/ethereum/go-ethereum/internal/flags" "github.com/ethereum/go-ethereum/internal/flags"
"github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/log"
"github.com/gballet/go-verkle" "github.com/gballet/go-verkle"
cli "github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
) )
var ( var (

@ -30,7 +30,7 @@ import (
"github.com/ethereum/go-ethereum/accounts" "github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
lru "github.com/ethereum/go-ethereum/common/lru" "github.com/ethereum/go-ethereum/common/lru"
"github.com/ethereum/go-ethereum/consensus" "github.com/ethereum/go-ethereum/consensus"
"github.com/ethereum/go-ethereum/consensus/misc" "github.com/ethereum/go-ethereum/consensus/misc"
"github.com/ethereum/go-ethereum/consensus/misc/eip1559" "github.com/ethereum/go-ethereum/consensus/misc/eip1559"

@ -17,7 +17,7 @@
package snap package snap
import ( import (
metrics "github.com/ethereum/go-ethereum/metrics" "github.com/ethereum/go-ethereum/metrics"
) )
var ( var (

Loading…
Cancel
Save