Orchard: borrow local.bytes for pallas::Affine serde helper

This commit is contained in:
Deirdre Connolly 2021-03-14 05:40:57 -04:00 committed by Deirdre Connolly
parent 009e1dd37e
commit b93a71c779
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ pub struct Affine {
impl From<Affine> for pallas::Affine {
fn from(local: Affine) -> Self {
pallas::Affine::from_bytes(local.bytes).unwrap()
pallas::Affine::from_bytes(&local.bytes).unwrap()
}
}