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
getCreator()
Returns the identity object of the chaincode invocation's submitter
Returns:
Type
ProposalCreator
But the type of ProposalCreator doesn't match the typescript definition which shows
getCreator(): SerializedIdentity;
Looking at the docs about ProposalCreator gives
new ProposalCreator()
This object contains the essential identity information of the chaincode invocation's submitter, including its organizational affiliation (mspid) and certificate (id_bytes)
Properties:
Name Type Description
mspid string The unique ID of the Membership Service Provider instance that is associated to the identity's organization and is able to perform digital signing and signature verification
not sure you would ever want to create one of these in your code but also the description on what this object is is not correct as it doesn't list the certificate bytes in the properties but does refer to it incorrectly in the description as id_bytes. Looking at the typescript definition for SerializedIdentity it shows
Looking at the docs for getCreator you see
But the type of ProposalCreator doesn't match the typescript definition which shows
Looking at the docs about ProposalCreator gives
not sure you would ever want to create one of these in your code but also the description on what this object is is not correct as it doesn't list the certificate bytes in the properties but does refer to it incorrectly in the description as id_bytes. Looking at the typescript definition for SerializedIdentity it shows
which describes it correctly
The text was updated successfully, but these errors were encountered: