diff --git a/sdk/src/client/secret/ledger_nano.rs b/sdk/src/client/secret/ledger_nano.rs index a54a0863b2..63dda3bf89 100644 --- a/sdk/src/client/secret/ledger_nano.rs +++ b/sdk/src/client/secret/ledger_nano.rs @@ -191,7 +191,7 @@ impl SecretManage for LedgerSecretManager { /// Ledger only allows signing messages of 32 bytes, anything else is unsupported and will result in an error. async fn sign_ed25519(&self, msg: &[u8], chain: Bip44) -> Result { - if msg.len() != 32 { + if msg.len() != 32 && msg.len() != 64 { return Err(Error::UnsupportedOperation.into()); }