Skip to content

Commit

Permalink
update pub const RewardPeriod: BlockNumber = 5
Browse files Browse the repository at this point in the history
  • Loading branch information
RustNinja committed May 4, 2023
1 parent 869d5e7 commit fea4c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/parachain/runtime/picasso/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ impl reward::Config<FarmingRewardsInstance> for Runtime {
}

parameter_types! {
pub const RewardPeriod: BlockNumber = 60_000 / (12000 as BlockNumber);
pub const RewardPeriod: BlockNumber = 5; //1 minute
pub const FarmingPalletId: PalletId = PalletId(*b"mod/farm");
pub FarmingAccount: AccountId = FarmingPalletId::get().into_account_truncating();
}
Expand Down

0 comments on commit fea4c3e

Please sign in to comment.