From c22ea9ee94354675128037920b2a0a0d68a87064 Mon Sep 17 00:00:00 2001 From: arnaucube Date: Fri, 24 Jul 2020 16:08:23 +0200 Subject: [PATCH] Fix import paths --- txselector/mock/mock.go | 2 +- txselector/txselector.go | 4 ++-- txselector/txselector_test.go | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/txselector/mock/mock.go b/txselector/mock/mock.go index 9478ff0..3ceeeca 100644 --- a/txselector/mock/mock.go +++ b/txselector/mock/mock.go @@ -1,7 +1,7 @@ package mock import ( - "github.com/hermeznetwork/hermez-node/tx-selector/common" + "github.com/hermeznetwork/hermez-node/txselector/common" ) type MockDB struct { diff --git a/txselector/txselector.go b/txselector/txselector.go index bcba705..f07f987 100644 --- a/txselector/txselector.go +++ b/txselector/txselector.go @@ -3,8 +3,8 @@ package txselector import ( "sort" - "github.com/hermeznetwork/hermez-node/tx-selector/common" - "github.com/hermeznetwork/hermez-node/tx-selector/mock" + "github.com/hermeznetwork/hermez-node/txselector/common" + "github.com/hermeznetwork/hermez-node/txselector/mock" ) // txs implements the interface Sort for an array of Tx diff --git a/txselector/txselector_test.go b/txselector/txselector_test.go index 34091a6..bf5f515 100644 --- a/txselector/txselector_test.go +++ b/txselector/txselector_test.go @@ -5,9 +5,10 @@ import ( "math/big" "testing" + "github.com/hermeznetwork/hermez-node/txselector/common" + "github.com/hermeznetwork/hermez-node/txselector/mock" + ethCommon "github.com/ethereum/go-ethereum/common" - "github.com/hermeznetwork/hermez-node/tx-selector/common" - "github.com/hermeznetwork/hermez-node/tx-selector/mock" "github.com/stretchr/testify/assert" )