diff --git a/pallets/propagation/src/lib.rs b/pallets/propagation/src/lib.rs index 36c8dbcec..fcea66d47 100644 --- a/pallets/propagation/src/lib.rs +++ b/pallets/propagation/src/lib.rs @@ -160,7 +160,7 @@ pub mod pallet { /// Submits a request to do a key refresh on the signers parent key. pub fn post_reshare(block_number: BlockNumberFor) -> Result<(), http::Error> { let reshare_data = pallet_staking_extension::Pallet::::reshare_data(); - if reshare_data.block_number + sp_runtime::traits::One::one() != block_number { + if reshare_data.block_number != block_number { return Ok(()); } diff --git a/pallets/staking/src/lib.rs b/pallets/staking/src/lib.rs index 7bc616b0b..4f7f854de 100644 --- a/pallets/staking/src/lib.rs +++ b/pallets/staking/src/lib.rs @@ -793,7 +793,7 @@ pub mod pallet { // trigger reshare at next block let current_block_number = >::block_number(); let reshare_info = ReshareInfo { - block_number: current_block_number - sp_runtime::traits::One::one(), + block_number: current_block_number + sp_runtime::traits::One::one(), new_signers, };