Skip to content

Commit

Permalink
Merge "[FAB-1410] Remove node's call to bootstrapper"
Browse files Browse the repository at this point in the history
  • Loading branch information
Srinivasan Muralidharan authored and Gerrit Code Review committed Dec 15, 2016
2 parents ccb94c5 + b504af9 commit 0d5af27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions peer/node/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ import (
"github.com/hyperledger/fabric/core/util"
"github.com/hyperledger/fabric/events/producer"
"github.com/hyperledger/fabric/gossip/service"
"github.com/hyperledger/fabric/orderer/common/bootstrap/static"
"github.com/hyperledger/fabric/peer/common"
pb "github.com/hyperledger/fabric/protos/peer"
"github.com/hyperledger/fabric/protos/utils"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"google.golang.org/grpc"
Expand Down Expand Up @@ -177,7 +177,7 @@ func serve(args []string) error {
commit := committer.NewLedgerCommitter(kvledger.GetLedger(chainID))

// TODO: Should real configuration block
block, err := static.New().GenesisBlock()
block, err := utils.MakeConfigurationBlock(util.GetTestChainID())

if nil != err {
panic(fmt.Sprintf("Unable to create genesis block for [%s] due to [%s]", chainID, err))
Expand Down

0 comments on commit 0d5af27

Please sign in to comment.