Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE-840] Fix discovery error on mutual TLS #197

Merged
merged 5 commits into from
Oct 19, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Identity to X509Identity
Signed-off-by: myeongkil <clevermk7211@gmail.com>
  • Loading branch information
myeongkil committed Oct 18, 2020
commit caf098a8f4ac390b164fa27ff33c9c8e7f46321b
4 changes: 2 additions & 2 deletions app/platform/fabric/gateway/FabricGateway.ts
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
*SPDX-License-Identifier: Apache-2.0
*/

import { Identity, Wallets, Gateway } from 'fabric-network';
import { X509Identity, Wallets, Gateway } from 'fabric-network';
import * as fabprotos from 'fabric-protos';
import { Discoverer, DiscoveryService } from 'fabric-common';
import concat from 'lodash/concat';
@@ -28,7 +28,7 @@ export class FabricGateway {
defaultChannelName: string;
fabricCaEnabled: boolean;
client: any;
clientTlsIdentity: Identity;
clientTlsIdentity: X509Identity;
FSWALLET: string;
enableAuthentication: boolean;
asLocalhost: boolean;