mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-04 20:03: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.
|
||||
pub fn to_bytes(&self) -> [u8; 32] {
|
||||
self.0
|
||||
self.bytes
|
||||
}
|
||||
|
||||
/// View this `Scalar` as a sequence of bytes.
|
||||
|
|
|
|||
Loading…
Reference in a new issue