Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit

Permalink
Rename certificate to cert in generated identity files (resolves #96) (
Browse files Browse the repository at this point in the history
…#97)

Signed-off-by: Simon Stone <sstone1@uk.ibm.com>
  • Loading branch information
Simon Stone authored Apr 25, 2019
1 parent dc4bcb2 commit b8804dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/network/templates/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const adminIdentityKeystorePath = path.resolve(adminIdentityMspPath, 'keystore')
const adminIdentityKeyPath = fs.readdirSync(adminIdentityKeystorePath).filter(key => !key.startsWith('.')).map(key => path.resolve(adminIdentityKeystorePath, key))[0];
const adminIdentity = {
name: 'admin',
certificate: fs.readFileSync(adminIdentityCertificatePath, 'base64'),
cert: fs.readFileSync(adminIdentityCertificatePath, 'base64'),
private_key: fs.readFileSync(adminIdentityKeyPath, 'base64'),
msp_id: 'Org1MSP'
};
Expand Down

0 comments on commit b8804dc

Please sign in to comment.