You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libraries/fabric-shim/lib/utils/statebased.js
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ const ROLE_TYPE_PEER = 'PEER';
17
17
* of the MSP identifiers of organizations.
18
18
* For more informations, please read the [documents]{@link https://hyperledger-fabric.readthedocs.io/en/latest/endorsement-policies.html#setting-key-level-endorsement-policies}
19
19
*
20
-
* @class KeyEndorsementPolicy
20
+
* @class
21
21
* @memberof fabric-shim
22
22
*/
23
23
classKeyEndorsementPolicy{
@@ -90,6 +90,7 @@ class KeyEndorsementPolicy {
90
90
* Internal used only, set the orgs map from a signature policy envelope
91
91
* @param {_policiesProto.SignaturePolicyEnvelope} signaturePolicyEnvelope the signaturePolicyEnvelope
92
92
* decoded from the endorsement policy.
93
+
* @private
93
94
*/
94
95
_setMspIdsFromSPE(signaturePolicyEnvelope){
95
96
// iterate over the identities in this envelope
@@ -107,6 +108,7 @@ class KeyEndorsementPolicy {
107
108
* Internal used only. construct the policy from all orgs' mspIds.
108
109
* the policy requires exactly 1 signature from all of the principals.
109
110
* @returns {_policiesProto.SignaturePolicyEnvelope} return the SignaturePolicyEnvelope instance
0 commit comments