From a2fa2ced994dc79fd465dd9335e5c50c51fb865e Mon Sep 17 00:00:00 2001 From: Jayden Lee <41176085+tkxkd0159@users.noreply.github.com> Date: Fri, 27 Oct 2023 18:35:28 +0900 Subject: [PATCH] chore: fix --- crypto/ledger/ledger_mock.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/ledger/ledger_mock.go b/crypto/ledger/ledger_mock.go index b1833ab367..4c1f2c3aed 100644 --- a/crypto/ledger/ledger_mock.go +++ b/crypto/ledger/ledger_mock.go @@ -97,7 +97,7 @@ func (mock LedgerSECP256K1Mock) SignSECP256K1(derivationPath []uint32, message [ return nil, err } - priv, _ := secp.PrivKeyFromBytes(derivedPriv) + priv := secp.PrivKeyFromBytes(derivedPriv) sig := ecdsa.Sign(priv, crypto.Sha256(message)) return sig.Serialize(), nil