Hash needs to be writeable for network serialization.

This commit is contained in:
Ignotus Peverell
2017-02-06 12:08:35 -08:00
parent 426f4e9d6b
commit dde54beb3f
3 changed files with 8 additions and 3 deletions
+1
View File
@@ -327,6 +327,7 @@ impl_slice_bytes!([u8; 1]);
impl_slice_bytes!([u8; 2]);
impl_slice_bytes!([u8; 4]);
impl_slice_bytes!([u8; 8]);
impl_slice_bytes!([u8; 32]);
impl<'a> AsFixedBytes for &'a [u8] {
fn as_fixed_bytes(&self) -> &[u8] {