Skip to content

Commit

Permalink
refactor 2
Browse files Browse the repository at this point in the history
  • Loading branch information
smaulik13 committed Jan 16, 2025
1 parent e8ceda5 commit fcc7676
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zboxcore/blockchain/entity.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"sync"
"sync/atomic"

"github.com/0chain/gosdk_common/core/client"
"github.com/0chain/gosdk_common/core/util"

"github.com/0chain/gosdk_common/core/conf"
"github.com/0chain/gosdk_common/core/node"
)

var miners []string
Expand Down Expand Up @@ -115,7 +115,7 @@ func PopulateNodes(nodesjson string) ([]string, error) {
}

var chain *ChainConfig
var Sharders *node.NodeHolder
var Sharders *client.NodeHolder

func init() {
chain = &ChainConfig{
Expand Down Expand Up @@ -198,7 +198,7 @@ func SetSharders(sharderArray []string) {
if len(sharderArray) < consensus {
consensus = len(sharderArray)
}
Sharders = node.NewHolder(sharderArray, consensus)
Sharders = client.NewHolder(sharderArray, consensus)
}

func SetMiners(minerArray []string) {
Expand Down

0 comments on commit fcc7676

Please sign in to comment.