mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Fix condition for resubscription (#1348)
This commit is contained in:
@@ -285,7 +285,7 @@ impl DutiesStore {
|
||||
duties.compute_selection_proof(validator_store)?;
|
||||
|
||||
// Determine if a re-subscription is required.
|
||||
let should_resubscribe = duties.subscription_eq(known_duties);
|
||||
let should_resubscribe = !duties.subscription_eq(known_duties);
|
||||
|
||||
// Replace the existing duties.
|
||||
*known_duties = duties;
|
||||
|
||||
Reference in New Issue
Block a user