From 3f485d21b7f0be08ee2256a26b7ff856fcd448cf Mon Sep 17 00:00:00 2001 From: Todd Stock Date: Mon, 21 Dec 2020 12:04:54 -0500 Subject: lint --- plugin/evm/tx.go | 2 +- plugin/evm/vm.go | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/plugin/evm/tx.go b/plugin/evm/tx.go index c13592c..f325159 100644 --- a/plugin/evm/tx.go +++ b/plugin/evm/tx.go @@ -11,11 +11,11 @@ import ( "github.com/ava-labs/coreth/core/state" + "github.com/ava-labs/avalanchego/codec" "github.com/ava-labs/avalanchego/database" "github.com/ava-labs/avalanchego/ids" "github.com/ava-labs/avalanchego/snow" "github.com/ava-labs/avalanchego/utils" - "github.com/ava-labs/avalanchego/codec" "github.com/ava-labs/avalanchego/utils/crypto" "github.com/ava-labs/avalanchego/utils/hashing" "github.com/ava-labs/avalanchego/vms/components/verify" diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go index fa5d3f5..7634ca7 100644 --- a/plugin/evm/vm.go +++ b/plugin/evm/vm.go @@ -8,14 +8,15 @@ import ( "encoding/json" "errors" "fmt" - "github.com/ava-labs/avalanchego/codec/linearcodec" - "github.com/ava-labs/avalanchego/codec/reflectcodec" "math/big" "strings" "sync" "sync/atomic" "time" + "github.com/ava-labs/avalanchego/codec/linearcodec" + "github.com/ava-labs/avalanchego/codec/reflectcodec" + "github.com/ava-labs/coreth" "github.com/ava-labs/coreth/core" "github.com/ava-labs/coreth/core/state" @@ -36,13 +37,13 @@ import ( "github.com/ava-labs/avalanchego/api/admin" "github.com/ava-labs/avalanchego/cache" + "github.com/ava-labs/avalanchego/codec" "github.com/ava-labs/avalanchego/database" "github.com/ava-labs/avalanchego/database/prefixdb" "github.com/ava-labs/avalanchego/ids" "github.com/ava-labs/avalanchego/snow" "github.com/ava-labs/avalanchego/snow/choices" "github.com/ava-labs/avalanchego/snow/consensus/snowman" - "github.com/ava-labs/avalanchego/codec" "github.com/ava-labs/avalanchego/utils/constants" "github.com/ava-labs/avalanchego/utils/crypto" "github.com/ava-labs/avalanchego/utils/formatting" @@ -124,7 +125,7 @@ var Codec codec.Manager func init() { Codec = codec.NewDefaultManager() - c := linearcodec.New(reflectcodec.DefaultTagName, 1<<20) + c := linearcodec.New(reflectcodec.DefaultTagName, 1<<20) errs := wrappers.Errs{} errs.Add( -- cgit v1.2.3-70-g09d2