From 0b8fa153c129b3ad89ba9f03286951ff0fe090f4 Mon Sep 17 00:00:00 2001 From: Lucas Hendren Date: Thu, 24 Jan 2019 22:06:46 -0500 Subject: [PATCH] cmd/geth, eth/downloader: fixed event field and suggested changes --- cmd/geth/main.go | 2 +- eth/downloader/events.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }