From a97b65ddbbc9f4aaa2f9dd781fb6a997621a16fa Mon Sep 17 00:00:00 2001 From: Dusan Brajovic Date: Mon, 1 Apr 2024 13:12:08 +0200 Subject: [PATCH] skip Ledger vrf --- crypto/keyring/keyring.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/crypto/keyring/keyring.go b/crypto/keyring/keyring.go index af0d4f8aae4f..4ec6d6a272d5 100644 --- a/crypto/keyring/keyring.go +++ b/crypto/keyring/keyring.go @@ -616,9 +616,10 @@ func SignWithLedger(k *Record, msg []byte) (sig []byte, pub types.PubKey, err er return nil, nil, err } - if !priv.PubKey().VerifySignature(msg, sig) { - return nil, nil, errors.New("Ledger generated an invalid signature. Perhaps you have multiple ledgers and need to try another one") - } + // Moved to injective-core as part of Ledger signing (see PR #1557 on injective-core repo) + //if !priv.PubKey().VerifySignature(msg, sig) { + // return nil, nil, errors.New("Ledger generated an invalid signature. Perhaps you have multiple ledgers and need to try another one") + //} return sig, priv.PubKey(), nil }