We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9d454 commit bc079b3Copy full SHA for bc079b3
stacks-signer/src/v0/signer.rs
@@ -213,8 +213,10 @@ impl SignerTrait<SignerMessage> for Signer {
213
return;
214
}
215
216
- self.local_state_machine.handle_pending_update(&self.signer_db, stacks_client, &self.proposal_config)
217
- .unwrap_or_else(|e| error!("{self}: failed to update local state machine for pending update"; "err" => ?e));
+ if self.reward_cycle <= current_reward_cycle {
+ self.local_state_machine.handle_pending_update(&self.signer_db, stacks_client, &self.proposal_config)
218
+ .unwrap_or_else(|e| error!("{self}: failed to update local state machine for pending update"; "err" => ?e));
219
+ }
220
221
match event {
222
SignerEvent::BlockValidationResponse(block_validate_response) => {
0 commit comments