mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-08 21:00:40 +00:00
Fix Scalar.to_bytes() after merging PR#88.
This commit is contained in:
parent
220c6c1d13
commit
88200f9fc9
1 changed files with 1 additions and 1 deletions
|
|
@ -373,7 +373,7 @@ impl Scalar {
|
||||||
|
|
||||||
/// Convert this `Scalar` to its underlying sequence of bytes.
|
/// Convert this `Scalar` to its underlying sequence of bytes.
|
||||||
pub fn to_bytes(&self) -> [u8; 32] {
|
pub fn to_bytes(&self) -> [u8; 32] {
|
||||||
self.0
|
self.bytes
|
||||||
}
|
}
|
||||||
|
|
||||||
/// View this `Scalar` as a sequence of bytes.
|
/// View this `Scalar` as a sequence of bytes.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue