Skip to content

Commit

Permalink
FABN-1550: Await call to async function in NetworkConfig (#225)
Browse files Browse the repository at this point in the history
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
  • Loading branch information
bestbeforetoday authored Apr 29, 2020
1 parent df2eb45 commit 5e6d19c
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 @@ -38,7 +38,7 @@ class NetworkConfig {
// build channels
if (config.channels) {
for (const channel_name in config.channels) {
buildChannel(client, channel_name, config.channels[channel_name]);
await buildChannel(client, channel_name, config.channels[channel_name]);
}
}

Expand Down

0 comments on commit 5e6d19c

Please sign in to comment.