diff --git a/wallet/ledger/signer.go b/wallet/ledger/signer.go index 412b41f4..4c8f988c 100644 --- a/wallet/ledger/signer.go +++ b/wallet/ledger/signer.go @@ -53,8 +53,7 @@ func (ls *ledgerSigner) Public() (pk signature.PublicKey) { func (ls *ledgerSigner) ContextSign(metadata signature.Context, message []byte) ([]byte, error) { switch ls.algorithm { - case wallet.AlgorithmEd25519Adr8: - case wallet.AlgorithmEd25519Legacy: + case wallet.AlgorithmEd25519Adr8, wallet.AlgorithmEd25519Legacy: return ls.dev.SignRtEd25519(ls.path, metadata, message) case wallet.AlgorithmSecp256k1Bip44: return ls.dev.SignRtSecp256k1(ls.path, metadata, message)