Skip to content

Commit 8107321

Browse files
Merge pull request #117 from OriginTrail/develop
devnet fix block time
2 parents 0849536 + 9fe9889 commit 8107321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pallets/parachain-staking/src/inflation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use sp_runtime::{PerThing, Perbill, RuntimeDebug};
2121
use substrate_fixed::{transcendental::pow as floatpow, types::I64F64};
2222

2323
const SECONDS_PER_YEAR: u32 = 31557600;
24-
const SECONDS_PER_BLOCK: u32 = 12;
24+
const SECONDS_PER_BLOCK: u32 = 6;
2525
pub const BLOCKS_PER_YEAR: u32 = SECONDS_PER_YEAR / SECONDS_PER_BLOCK;
2626

2727
fn rounds_per_year<T: Config>() -> u32 {

0 commit comments

Comments
 (0)