From dd9a1bbbf0dcfba65f18c0e594e8451855532615 Mon Sep 17 00:00:00 2001 From: parmarrushabh Date: Fri, 27 Jul 2018 17:02:20 +0530 Subject: [PATCH] Fixed go lint. --- core/tx_pool.go | 8 ++++---- eth/fetcher/fetcher.go | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/core/tx_pool.go b/core/tx_pool.go index 5ae0994339..0e34c0fa30 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -107,10 +107,10 @@ var ( type TxStatus uint const ( - TxStatusUnknown TxStatus = iota - TxStatusQueued - TxStatusPending - TxStatusIncluded + TxStatusUnknown TxStatus = iota + TxStatusQueued + TxStatusPending + TxStatusIncluded ) // blockChain provides the state of blockchain and current gas limit to do diff --git a/eth/fetcher/fetcher.go b/eth/fetcher/fetcher.go index df0d79a80e..ea0df3ab4f 100644 --- a/eth/fetcher/fetcher.go +++ b/eth/fetcher/fetcher.go @@ -22,16 +22,16 @@ import ( "math/rand" "time" + "github.com/ethereum/go-ethereum/accounts" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/consensus" + "github.com/ethereum/go-ethereum/consensus/clique" + "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/log" - "gopkg.in/karalabe/cookiejar.v2/collections/prque" "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/accounts" + "gopkg.in/karalabe/cookiejar.v2/collections/prque" "math/big" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/consensus/clique" ) const (