diff --git a/common/types.go b/common/types.go index 76e7be58fe..0b94fb2c25 100644 --- a/common/types.go +++ b/common/types.go @@ -18,15 +18,15 @@ package common import ( "encoding/hex" + "encoding/json" "fmt" "math/big" "math/rand" "reflect" + "strings" - "encoding/json" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/crypto/sha3" - "strings" ) const ( diff --git a/rpc/client.go b/rpc/client.go index 68745c6cbe..77b4d5ee01 100644 --- a/rpc/client.go +++ b/rpc/client.go @@ -25,6 +25,7 @@ import ( "fmt" "net" "net/url" + "os" "reflect" "strconv" "strings" @@ -33,7 +34,6 @@ import ( "time" "github.com/ethereum/go-ethereum/log" - "os" ) var (