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

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
serban300 committed Sep 30, 2022
1 parent ca3aaaf commit 0b9959d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions frame/beefy-mmr/primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,11 @@
//!
//! If the number of leaves is not even, last leave (hash of) is promoted to the upper layer.
#[cfg(not(feature = "std"))]
extern crate alloc;
#[cfg(not(feature = "std"))]
use alloc::vec::Vec;
pub use sp_runtime::traits::Keccak256;
use sp_runtime::{app_crypto::sp_core, sp_std, traits::Hash as HashT};
use sp_std::{vec, vec::Vec};

use beefy_primitives::mmr::{BeefyAuthoritySet, BeefyNextAuthoritySet};
pub use sp_runtime::traits::Keccak256;
use sp_runtime::{app_crypto::sp_core, traits::Hash as HashT};

/// Construct a root hash of a Binary Merkle Tree created from given leaves.
///
Expand Down

0 comments on commit 0b9959d

Please sign in to comment.