Skip to content
Prev Previous commit
Next Next commit
fix lint
  • Loading branch information
maciejnems committed Feb 13, 2023
commit 2c7de0f35eb37684bddbd564e2524048c429ed1e
4 changes: 2 additions & 2 deletions bin/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ pub use primitives::Balance;
use primitives::{
staking::MAX_NOMINATORS_REWARDED_PER_VALIDATOR, wrap_methods, ApiError as AlephApiError,
AuthorityId as AlephId, SessionAuthorityData, Version as FinalityVersion, ADDRESSES_ENCODING,
DEFAULT_BAN_REASON_LENGTH, DEFAULT_SESSIONS_PER_ERA, DEFAULT_SESSION_PERIOD, MAX_BLOCK_SIZE,
MILLISECS_PER_BLOCK, TOKEN, DEFAULT_MAX_WINNERS,
DEFAULT_BAN_REASON_LENGTH, DEFAULT_MAX_WINNERS, DEFAULT_SESSIONS_PER_ERA,
DEFAULT_SESSION_PERIOD, MAX_BLOCK_SIZE, MILLISECS_PER_BLOCK, TOKEN,
};
use sp_api::impl_runtime_apis;
use sp_consensus_aura::{sr25519::AuthorityId as AuraId, SlotDuration};
Expand Down
4 changes: 1 addition & 3 deletions finality-aleph/src/testing/client_chain_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ impl ClientChainBuilder {

/// Finalize block with given hash without providing justification.
pub fn finalize_block(&self, hash: &H256) {
self.client
.finalize_block(*hash, None)
.unwrap();
self.client.finalize_block(*hash, None).unwrap();
}

pub fn genesis_hash_num(&self) -> BlockHashNum<Block> {
Expand Down