Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier committed Aug 4, 2022
1 parent 547f415 commit 8fa97c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frame/dvm/ethereum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ impl<T: Config> Pallet<T> {
BlockHash::<T>::insert(block_number, block.header.hash());

if post_log {
let digest = DigestItem::<T::Hash>::Consensus(
let digest = DigestItem::Consensus(
FRONTIER_ENGINE_ID,
PostLog::Hashes(fp_consensus::Hashes::from_block(block)).encode(),
);
Expand Down
2 changes: 1 addition & 1 deletion frame/header-mmr/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pub fn register_offchain_ext(ext: &mut TestExternalities) {
ext.register_extension(OffchainWorkerExt::new(offchain));
}

pub fn header_parent_mmr_log(hash: Hash) -> DigestItem<Hash> {
pub fn header_parent_mmr_log(hash: Hash) -> DigestItem {
let mmr_root_log =
MerkleMountainRangeRootLog::<Hash> { prefix: LOG_PREFIX, parent_mmr_root: hash };

Expand Down

0 comments on commit 8fa97c1

Please sign in to comment.