fabric-sdk-go
fabric-sdk-go copied to clipboard
Why use orgname which extracted from msppath instead of directly from IdentityIdentifier
When read msp certificate base on IdentityIdentifier
which contains MSPID
and ID
, the sdk now use a extracted
orgname which comes from cryptoConfigMSPPath
.
Why not just directly use the MSPID
?
https://github.com/hyperledger/fabric-sdk-go/blob/main/pkg/msp/filecertstore.go#L22