Skip to content

Commit ed0f5b8

Browse files
committed
docs: remove class name and mark internal methods as private in KeyEndorsementPolicy
Signed-off-by: Sourav Jha <souravkjha2007@gmail.com>
1 parent d13fe48 commit ed0f5b8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

libraries/fabric-shim/lib/utils/statebased.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const ROLE_TYPE_PEER = 'PEER';
1717
* of the MSP identifiers of organizations.
1818
* For more informations, please read the [documents]{@link https://hyperledger-fabric.readthedocs.io/en/latest/endorsement-policies.html#setting-key-level-endorsement-policies}
1919
*
20-
* @class KeyEndorsementPolicy
20+
* @class
2121
* @memberof fabric-shim
2222
*/
2323
class KeyEndorsementPolicy {
@@ -90,6 +90,7 @@ class KeyEndorsementPolicy {
9090
* Internal used only, set the orgs map from a signature policy envelope
9191
* @param {_policiesProto.SignaturePolicyEnvelope} signaturePolicyEnvelope the signaturePolicyEnvelope
9292
* decoded from the endorsement policy.
93+
* @private
9394
*/
9495
_setMspIdsFromSPE(signaturePolicyEnvelope) {
9596
// iterate over the identities in this envelope
@@ -107,6 +108,7 @@ class KeyEndorsementPolicy {
107108
* Internal used only. construct the policy from all orgs' mspIds.
108109
* the policy requires exactly 1 signature from all of the principals.
109110
* @returns {_policiesProto.SignaturePolicyEnvelope} return the SignaturePolicyEnvelope instance
111+
* @private
110112
*/
111113
_getPolicyFromMspId() {
112114

0 commit comments

Comments
 (0)