Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update: import
  • Loading branch information
aurexav committed Feb 20, 2020
commit 94d10a54c1c1c89a8c9ef7ec0ddf9ad5dcfcadfa
4 changes: 2 additions & 2 deletions primitives/sr-eth-primitives/src/pow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use keccak_hash::KECCAK_EMPTY_LIST_RLP;
use primitive_types::{H256, U256, U512};
use rlp::*;
use sp_runtime::RuntimeDebug;
use sp_std::{collections::btree_map::BTreeMap, mem, result};
use sp_std::{collections::btree_map::BTreeMap, mem};

use crate::{
error::{BlockError, Mismatch, OutOfBounds},
Expand Down Expand Up @@ -117,7 +117,7 @@ impl EthashPartial {
}

impl EthashPartial {
pub fn verify_block_basic(&self, header: &EthHeader) -> result::Result<(), error::BlockError> {
pub fn verify_block_basic(&self, header: &EthHeader) -> Result<(), BlockError> {
// check the seal fields.
let seal = EthashSeal::parse_seal(header.seal())?;

Expand Down