Skip to content

Commit

Permalink
[FABN-1522] load the value of config.orderers (#189)
Browse files Browse the repository at this point in the history
The function called loadFromConfig, load the value of config.peers instead of config.orderers. I fixed it to get the value of config.orderers

Signed-off-by: KIM GEONWOO <[email protected]>
  • Loading branch information
kgeonw authored Mar 19, 2020
1 parent ecdbeb9 commit 1f446c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabric-network/src/impl/ccp/networkconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class NetworkConfig {
}
}
// create orderers
if (config.peers) {
if (config.orderers) {
for (const orderer_name in config.orderers) {
await buildOrderer(client, orderer_name, config.orderers[orderer_name]);
}
Expand Down

0 comments on commit 1f446c6

Please sign in to comment.