From 1f446c6629def6419a09bf6e7eb28b82771e98e6 Mon Sep 17 00:00:00 2001 From: GeonWoo Kim Date: Thu, 19 Mar 2020 19:24:29 +0900 Subject: [PATCH] [FABN-1522] load the value of config.orderers (#189) 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 --- fabric-network/src/impl/ccp/networkconfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabric-network/src/impl/ccp/networkconfig.js b/fabric-network/src/impl/ccp/networkconfig.js index 1b1ce69b19..bd3ec6f7f6 100644 --- a/fabric-network/src/impl/ccp/networkconfig.js +++ b/fabric-network/src/impl/ccp/networkconfig.js @@ -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]); }