mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +00:00
fix(trezor-client): fix convert_signature invalid s convert
This commit is contained in:
parent
61fe99036e
commit
ac1a25fc21
@ -162,6 +162,6 @@ fn convert_signature(resp: &EthereumTxRequest, chain_id: Option<u64>) -> Result<
|
||||
}
|
||||
}
|
||||
let r = resp.signature_r().try_into().map_err(|_| Error::MalformedSignature)?;
|
||||
let s = resp.signature_r().try_into().map_err(|_| Error::MalformedSignature)?;
|
||||
let s = resp.signature_s().try_into().map_err(|_| Error::MalformedSignature)?;
|
||||
Ok(Signature { r, s, v })
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user