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
@@ -27,7 +27,7 @@ use primitives::block::{self, HeaderHash};
use blockchain::{self, BlockId, BlockStatus};
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()
}
struct PendingBlock {