v2.1.1 Release Notes
This update add the getDefaultEndorsermentPolicy
to utlis.common.js
The default endorsement policy is now forced to be "Signed by all organization"
For example, a default policy for a network with 2 organizations:
{
identities: [
{ role: { name: "member", mspId: "org1" }},
{ role: { name: "member", mspId: "org2" }}
],
policy: {
"2-of": [{ "signed-by": 0 }, { "signed-by": 1 }]
}
}