This commit is contained in:
guanpengchn 2018-07-05 08:22:58 +00:00 committed by GitHub
commit 0544813086
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -252,7 +252,7 @@ app.post('/channels/:channelName/chaincodes', async function(req, res) {
return;
}
let message = await instantiate.instantiateChaincode(peers, channelName, chaincodeName, chaincodeVersion, chaincodeType, fcn, args, req.username, req.orgname);
let message = await instantiate.instantiateChaincode(peers, channelName, chaincodeName, chaincodeVersion, fcn, chaincodeType, args, req.username, req.orgname);
res.send(message);
});
// Invoke transaction on chaincode on target peers

View file

@ -175,7 +175,7 @@ var instantiateChaincode = async function(peers, channelName, chaincodeName, cha
if (!error_message) {
let message = util.format(
'Successfully instantiate chaingcode in organization %s to the channel \'%s\'',
'Successfully instantiate chaincode in organization %s to the channel \'%s\'',
org_name, channelName);
logger.info(message);
// build a response to send back to the REST caller