From 11aad420509f24784ccf3a73a6d72a896c25ada3 Mon Sep 17 00:00:00 2001 From: dinhln89 Date: Wed, 13 Jun 2018 16:12:07 +0700 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 a17e98ae99..9f6016bc38 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 f03cc39bb0..4e2c3033a6 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 (