Fix Scalar.to_bytes() after merging PR#88.

This commit is contained in:
Isis Lovecruft 2017-11-26 04:16:12 +00:00
parent 220c6c1d13
commit 88200f9fc9
Failed to extract signature

View file

@ -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.