fix compilation for native

This commit is contained in:
Robert Habermeier
2018-02-06 12:24:34 +01:00
parent 5a675e9c64
commit af2fdc5478
12 changed files with 226 additions and 36 deletions
+1 -1
View File
@@ -57,6 +57,6 @@ pub use network::{NonReservedPeerMode, ConnectionFilter, ConnectionDirection, Ne
// TODO: move it elsewhere
fn header_hash(header: &primitives::block::Header) -> primitives::block::HeaderHash {
primitives::hash(&ser::to_vec(header))
primitives::hashing::blake2_256(&ser::to_vec(header)).into()
}