@@ -301,8 +301,8 @@ func getMspConfig(dir string, ID string, sigid *msp.SigningIdentityInfo) (*msp.M
301
301
302
302
nodeOUs = & msp.FabricNodeOUs {
303
303
Enable : configuration .NodeOUs .Enable ,
304
- ClientOUIdentifier : & msp.FabricOUIdentifier {OrganizationalUnitIdentifier : configuration .NodeOUs .ClientOUIdentifier .OrganizationalUnitIdentifier },
305
- PeerOUIdentifier : & msp.FabricOUIdentifier {OrganizationalUnitIdentifier : configuration .NodeOUs .PeerOUIdentifier .OrganizationalUnitIdentifier },
304
+ ClientOuIdentifier : & msp.FabricOUIdentifier {OrganizationalUnitIdentifier : configuration .NodeOUs .ClientOUIdentifier .OrganizationalUnitIdentifier },
305
+ PeerOuIdentifier : & msp.FabricOUIdentifier {OrganizationalUnitIdentifier : configuration .NodeOUs .PeerOUIdentifier .OrganizationalUnitIdentifier },
306
306
}
307
307
308
308
// Read certificates, if defined
@@ -313,7 +313,7 @@ func getMspConfig(dir string, ID string, sigid *msp.SigningIdentityInfo) (*msp.M
313
313
if err != nil {
314
314
mspLogger .Infof ("Failed loading ClientOU certificate at [%s]: [%s]" , f , err )
315
315
} else {
316
- nodeOUs .ClientOUIdentifier .Certificate = raw
316
+ nodeOUs .ClientOuIdentifier .Certificate = raw
317
317
}
318
318
319
319
// PeerOU
@@ -322,7 +322,7 @@ func getMspConfig(dir string, ID string, sigid *msp.SigningIdentityInfo) (*msp.M
322
322
if err != nil {
323
323
mspLogger .Debugf ("Failed loading PeerOU certificate at [%s]: [%s]" , f , err )
324
324
} else {
325
- nodeOUs .PeerOUIdentifier .Certificate = raw
325
+ nodeOUs .PeerOuIdentifier .Certificate = raw
326
326
}
327
327
}
328
328
} else {
@@ -347,7 +347,7 @@ func getMspConfig(dir string, ID string, sigid *msp.SigningIdentityInfo) (*msp.M
347
347
CryptoConfig : cryptoConfig ,
348
348
TlsRootCerts : tlsCACerts ,
349
349
TlsIntermediateCerts : tlsIntermediateCerts ,
350
- FabricNodeOUs : nodeOUs ,
350
+ FabricNodeOus : nodeOUs ,
351
351
}
352
352
353
353
fmpsjs , _ := proto .Marshal (fmspconf )
@@ -379,7 +379,7 @@ func GetIdemixMspConfig(dir string, ID string) (*msp.MSPConfig, error) {
379
379
380
380
idemixConfig := & msp.IdemixMSPConfig {
381
381
Name : ID ,
382
- IPk : ipkBytes ,
382
+ Ipk : ipkBytes ,
383
383
RevocationPk : revocationPkBytes ,
384
384
}
385
385
0 commit comments