Skip to content

Commit

Permalink
FABN-949 NodeSDK metadataPath not working
Browse files Browse the repository at this point in the history
During the switch over of chaincode packaging the
metadataPath parameter was misplaced. It has now
returned.

Change-Id: I6e5d333248c121215c22411fd488b4bf2c5edaa2
Signed-off-by: Bret Harrison <beharrison@nc.rr.com>
  • Loading branch information
harrisob committed Oct 2, 2018
1 parent cedc8cb commit ed043c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabric-client/lib/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -1746,7 +1746,7 @@ async function _getChaincodeDeploymentSpec(request, devMode) {
return request.chaincodePackage;
} else {
return new Promise((resolve, reject) => {
return Packager.package(request.chaincodePath, request.chaincodeType, devMode)
return Packager.package(request.chaincodePath, request.chaincodeType, devMode, request.metadataPath)
.then((data) => {
const ccSpec = {
type: clientUtils.translateCCType(request.chaincodeType),
Expand Down

0 comments on commit ed043c3

Please sign in to comment.