Skip to content

Commit

Permalink
correct usage of wallet in connector remove identity (hyperledger-arc…
Browse files Browse the repository at this point in the history
…hives#3510)

Signed-off-by: Matthew B White <[email protected]>
  • Loading branch information
mbwhite authored Mar 1, 2018
1 parent 4c5ac0c commit c414a80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/composer-connector-server/lib/connectorserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ class ConnectorServer {
connectionManagerRemoveIdentity(connectionProfile, connectionOptions, id, callback) {
const method = 'connectionManagerRemoveIdentity';
LOG.entry(method, connectionProfile, id);
connectionOptions.wallet = this.businessNetworkCardStore.getWallet(connectionOptions.cardName);
return this.connectionProfileManager.getConnectionManagerByType(connectionOptions['x-type'])
.then((connectionManager) => {
return connectionManager.removeIdentity(connectionProfile, connectionOptions, id);
Expand Down

0 comments on commit c414a80

Please sign in to comment.