Skip to content

Commit

Permalink
Merge "node-SDK: Fix hfc getChain with create true error"
Browse files Browse the repository at this point in the history
  • Loading branch information
Srinivasan Muralidharan authored and Gerrit Code Review committed Aug 31, 2016
2 parents 5925f57 + 23a5f24 commit 0289230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/node/src/hfc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2692,7 +2692,7 @@ export function newChain(name) {
export function getChain(chainName, create) {
let chain = _chains[chainName];
if (!chain && create) {
chain = newChain(name);
chain = newChain(chainName);
}
return chain;
}
Expand Down

0 comments on commit 0289230

Please sign in to comment.