fix go imports

pull/4149/head
Diego Nava 2 years ago committed by Lutty
parent 90d695c8fa
commit 3c7b2a8766
  1. 2
      core/blockchain.go
  2. 7
      core/blockchain_impl.go
  3. 2
      internal/shardchain/shardchains.go

@ -1,7 +1,6 @@
package core
import (
"github.com/harmony-one/harmony/internal/tikv/redis_helper"
"math/big"
"github.com/ethereum/go-ethereum/common"
@ -15,6 +14,7 @@ import (
"github.com/harmony-one/harmony/core/types"
"github.com/harmony-one/harmony/core/vm"
"github.com/harmony-one/harmony/internal/params"
"github.com/harmony-one/harmony/internal/tikv/redis_helper"
"github.com/harmony-one/harmony/shard"
"github.com/harmony-one/harmony/staking/slash"
types2 "github.com/harmony-one/harmony/staking/types"

@ -31,10 +31,6 @@ import (
"sync/atomic"
"time"
harmonyconfig "github.com/harmony-one/harmony/internal/configs/harmony"
"github.com/harmony-one/harmony/internal/tikv"
"github.com/harmony-one/harmony/internal/tikv/redis_helper"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/mclock"
"github.com/ethereum/go-ethereum/common/prque"
@ -51,7 +47,10 @@ import (
"github.com/harmony-one/harmony/core/state"
"github.com/harmony-one/harmony/core/types"
"github.com/harmony-one/harmony/core/vm"
harmonyconfig "github.com/harmony-one/harmony/internal/configs/harmony"
"github.com/harmony-one/harmony/internal/params"
"github.com/harmony-one/harmony/internal/tikv"
"github.com/harmony-one/harmony/internal/tikv/redis_helper"
"github.com/harmony-one/harmony/internal/utils"
"github.com/harmony-one/harmony/numeric"
"github.com/harmony-one/harmony/shard"

@ -54,7 +54,7 @@ type CollectionImpl struct {
// dbInit is the shard chain initializer to use when the database returned by
// the factory is brand new (empty).
func NewCollection(
harmonyconfig *harmonyconfig.HarmonyConfig,
harmonyconfig *harmonyconfig.HarmonyConfig,
dbFactory DBFactory, dbInit DBInitializer, engine engine.Engine,
chainConfig *params.ChainConfig,
) *CollectionImpl {

Loading…
Cancel
Save