Skip to content
Merged
Show file tree
Hide file tree
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
fmt
  • Loading branch information
Michal Swietek committed Dec 21, 2022
commit ef0695b91fcf8f958de8260e0fd92d6469dd0b4d
3 changes: 1 addition & 2 deletions finality-aleph/src/abft/current.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use log::debug;
use sp_blockchain::HeaderBackend;
use sp_runtime::traits::Block;

use super::common::unit_creation_delay_fn;
use crate::{
abft::{NetworkWrapper, SpawnHandleT},
crypto::Signature,
Expand All @@ -16,8 +17,6 @@ use crate::{
CurrentNetworkData, Hasher, Keychain, NodeIndex, SessionId, SignatureSet, UnitCreationDelay,
};

use super::common::unit_creation_delay_fn;

/// Version of the current abft
pub const VERSION: u32 = 2;

Expand Down
3 changes: 1 addition & 2 deletions finality-aleph/src/abft/legacy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use log::debug;
use sp_blockchain::HeaderBackend;
use sp_runtime::traits::Block;

use super::common::unit_creation_delay_fn;
use crate::{
abft::{NetworkWrapper, SpawnHandleT},
data_io::{AlephData, OrderedDataInterpreter},
Expand All @@ -15,8 +16,6 @@ use crate::{
Keychain, LegacyNetworkData, NodeIndex, SessionId, UnitCreationDelay,
};

use super::common::unit_creation_delay_fn;

/// Version of the legacy abft
pub const VERSION: u32 = 1;

Expand Down