diff --git a/cmd/geth/main.go b/cmd/geth/main.go index c8d2afec43..3ffb51a1a3 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -31,12 +31,12 @@ import ( "github.com/ethereum/go-ethereum/accounts" "github.com/ethereum/go-ethereum/accounts/keystore" "github.com/ethereum/go-ethereum/cmd/utils" + "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/console" "github.com/ethereum/go-ethereum/eth" "github.com/ethereum/go-ethereum/eth/downloader" "github.com/ethereum/go-ethereum/ethclient" "github.com/ethereum/go-ethereum/internal/debug" - "github.com/ethereum/go-ethereum/les" "github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/metrics" "github.com/ethereum/go-ethereum/node" diff --git a/eth/downloader/events.go b/eth/downloader/events.go index 95b3087e07..25255a3a72 100644 --- a/eth/downloader/events.go +++ b/eth/downloader/events.go @@ -19,7 +19,7 @@ package downloader import "github.com/ethereum/go-ethereum/core/types" type DoneEvent struct { - *types.Header + Latest *types.Header } type StartEvent struct{} type FailedEvent struct{ Err error }