Skip to content

Commit

Permalink
[FAB-9022] Fix broadcast_config compile issue
Browse files Browse the repository at this point in the history
Change-Id: I99f716b9790f8f589eff3fc0603571c273fceeef
Signed-off-by: Matthew Sykes <[email protected]>
  • Loading branch information
sykesm committed Mar 21, 2018
1 parent 94ca92e commit 542e2e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions orderer/sample_clients/broadcast_config/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ import (
ab "github.com/hyperledger/fabric/protos/orderer"
)

var conf *config.TopLevel
var genConf *genesisconfig.Profile

type broadcastClient struct {
ab.AtomicBroadcast_BroadcastClient
}
Expand Down Expand Up @@ -69,7 +66,11 @@ type argsImpl struct {
chainID string
}

var conf *config.TopLevel
var genConf *genesisconfig.Profile

func init() {
var err error
conf, err = config.Load()
if err != nil {
fmt.Println("failed to load config:", err)
Expand Down

0 comments on commit 542e2e6

Please sign in to comment.