diff --git a/pallets/dapp-staking/src/migration.rs b/pallets/dapp-staking/src/migration.rs index f782110e2..79fa7e858 100644 --- a/pallets/dapp-staking/src/migration.rs +++ b/pallets/dapp-staking/src/migration.rs @@ -519,7 +519,7 @@ impl OnRuntimeUpgrade for AdjustEraMigration { let current_block_number = frame_system::Pallet::::block_number().saturated_into::(); let remaining = state.next_era_start.saturating_sub(current_block_number); - state.next_era_start.saturating_accrue(2 * remaining); + state.next_era_start.saturating_accrue(remaining); } }); T::DbWeight::get().reads_writes(1, 1)