Skip to content

Commit

Permalink
Merge branch '2.0' of https://github.com/iotaledger/iota-sdk into 500…
Browse files Browse the repository at this point in the history
…-error-patch
  • Loading branch information
marc2332 committed Feb 22, 2024
2 parents 974377d + 4077c17 commit 31f20f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/client/secret/ledger_nano.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Ed25519Signature, Self::Error> {
if msg.len() != 32 {
if msg.len() != 32 && msg.len() != 64 {
return Err(Error::UnsupportedOperation.into());
}

Expand Down

0 comments on commit 31f20f1

Please sign in to comment.