Browse Source

Fix import paths

feature/sql-semaphore1
arnaucube 4 years ago
parent
commit
c22ea9ee94
3 changed files with 6 additions and 5 deletions
  1. +1
    -1
      txselector/mock/mock.go
  2. +2
    -2
      txselector/txselector.go
  3. +3
    -2
      txselector/txselector_test.go

+ 1
- 1
txselector/mock/mock.go

@ -1,7 +1,7 @@
package mock package mock
import ( import (
"github.com/hermeznetwork/hermez-node/tx-selector/common"
"github.com/hermeznetwork/hermez-node/txselector/common"
) )
type MockDB struct { type MockDB struct {

+ 2
- 2
txselector/txselector.go

@ -3,8 +3,8 @@ package txselector
import ( import (
"sort" "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 // txs implements the interface Sort for an array of Tx

+ 3
- 2
txselector/txselector_test.go

@ -5,9 +5,10 @@ import (
"math/big" "math/big"
"testing" "testing"
"github.com/hermeznetwork/hermez-node/txselector/common"
"github.com/hermeznetwork/hermez-node/txselector/mock"
ethCommon "github.com/ethereum/go-ethereum/common" 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" "github.com/stretchr/testify/assert"
) )

Loading…
Cancel
Save