diff --git a/cmd/XDC/main.go b/cmd/XDC/main.go index ef527fecd8..2e9a4f2f02 100644 --- a/cmd/XDC/main.go +++ b/cmd/XDC/main.go @@ -32,6 +32,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/consensus/clique" "github.com/ethereum/go-ethereum/console" + validatorContract "github.com/ethereum/go-ethereum/contracts/validator/contract" "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/eth" "github.com/ethereum/go-ethereum/ethclient" @@ -40,7 +41,6 @@ import ( "github.com/ethereum/go-ethereum/metrics" "github.com/ethereum/go-ethereum/node" "gopkg.in/urfave/cli.v1" - validatorContract "github.com/ethereum/go-ethereum/contracts/validator/contract" ) const ( diff --git a/eth/backend.go b/eth/backend.go index 123a356413..58ef2a40bc 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -238,8 +238,7 @@ func New(ctx *node.ServiceContext, config *Config) (*Ethereum, error) { } } } - - return nil + return nil } }