diff --git a/packages/composer-connector-server/lib/connectorserver.js b/packages/composer-connector-server/lib/connectorserver.js index 8b107ba630..94c4e4d8f9 100644 --- a/packages/composer-connector-server/lib/connectorserver.js +++ b/packages/composer-connector-server/lib/connectorserver.js @@ -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);