mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-31 16:09:52 +00:00
fix compilation for native
This commit is contained in:
1 parent
5a675e9c64
commit
af2fdc5478
12 files changed
+226
-36
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user