Skip to content

Commit

Permalink
Fix empty msp, capabilities and anchor peer in ConfigValue (#64)
Browse files Browse the repository at this point in the history
* Fix empty msp, capabilities and anchor peer ConfigValue

Now msps, anchorPeers, capabilities are collected to separated arrays in ChConfig struct, but in config.Versions().Channel such data is empty.

Signed-off-by: kopaygorodsky <vlad.kopaygorodsky@gmail.com>
  • Loading branch information
kopaygorodsky committed Apr 2, 2020
1 parent e2b6c73 commit d7264b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/fab/chconfig/chconfig.go
Expand Up @@ -517,6 +517,7 @@ func loadCapabilities(configValue *common.ConfigValue, configItems *ChannelCfg,

func loadConfigValue(configItems *ChannelCfg, key string, versionsValue *common.ConfigValue, configValue *common.ConfigValue, groupName string, org string) error {
versionsValue.Version = configValue.Version
versionsValue.Value = configValue.Value

switch key {
case channelConfig.AnchorPeersKey:
Expand Down

0 comments on commit d7264b5

Please sign in to comment.