File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -371,8 +371,6 @@ pub mod pallet {
371371 pub enum Error < T > {
372372 /// Solution range adjustment already enabled.
373373 SolutionRangeAdjustmentAlreadyEnabled ,
374- /// Rewards already active.
375- RewardsAlreadyEnabled ,
376374 /// Iterations are not multiple of number of checkpoints times two
377375 NotMultipleOfCheckpoints ,
378376 /// Proof of time slot iterations must increase as hardware improves
@@ -1116,10 +1114,6 @@ impl<T: Config> Pallet<T> {
11161114 fn do_enable_rewards_at (
11171115 enable_rewards_at : EnableRewardsAt < BlockNumberFor < T > > ,
11181116 ) -> DispatchResult {
1119- if EnableRewards :: < T > :: get ( ) . is_some ( ) {
1120- return Err ( Error :: < T > :: RewardsAlreadyEnabled . into ( ) ) ;
1121- }
1122-
11231117 match enable_rewards_at {
11241118 EnableRewardsAt :: Height ( block_number) => {
11251119 // Enable rewards at a particular block height (default to the next block after
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
130130 spec_name : Cow :: Borrowed ( "subspace" ) ,
131131 impl_name : Cow :: Borrowed ( "subspace" ) ,
132132 authoring_version : 0 ,
133- spec_version : 0 ,
133+ spec_version : 1 ,
134134 impl_version : 0 ,
135135 apis : RUNTIME_API_VERSIONS ,
136136 transaction_version : 0 ,
You can’t perform that action at this time.
0 commit comments