From fb31eefe50c4a7fa8ee411fd363bf8ff8e5e037d Mon Sep 17 00:00:00 2001 From: Juan Leni Date: Sun, 17 Mar 2019 15:15:04 +0100 Subject: [PATCH] avoid invalid cache values (improve later?) --- privval/signer_client.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/privval/signer_client.go b/privval/signer_client.go index bedb52dbc..740314ec0 100644 --- a/privval/signer_client.go +++ b/privval/signer_client.go @@ -13,9 +13,6 @@ import ( // It uses a validator endpoint to request signatures from an external process. type SignerClient struct { endpoint *SignerListenerEndpoint - - // memoized - consensusPubKey crypto.PubKey } // Check that SignerClient implements PrivValidator. @@ -29,15 +26,6 @@ func NewSignerClient(endpoint *SignerListenerEndpoint) (*SignerClient, error) { } } - // TODO(jleni): Fix this - //// retrieve and memoize the consensus public key once. - //pubKey, err := getPubKey(conn) - //if err != nil { - // return nil, cmn.ErrorWrap(err, "error while retrieving public key for remote signer") - //} - // TODO(jleni): Fix this - - //return &SignerClient{endpoint: endpoint, consensusPubKey: pubKey,}, nil return &SignerClient{endpoint: endpoint}, nil }