Skip to content

Commit

Permalink
pool: Require TLS >= 1.2 for wallet connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
davecgh committed Sep 14, 2023
1 parent 7b1fff0 commit 594cbb2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pool/hub.go
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ func (h *Hub) Connect(ctx context.Context) error {
creds := credentials.NewTLS(&tls.Config{
Certificates: []tls.Certificate{keypair},
RootCAs: serverCAs,
MinVersion: tls.VersionTLS12,
})
grpc, err := grpc.Dial(h.cfg.WalletGRPCHost,
grpc.WithTransportCredentials(creds))
Expand Down

0 comments on commit 594cbb2

Please sign in to comment.