Skip to content

Commit

Permalink
Flip bool
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner committed Jun 21, 2021
1 parent 89afc26 commit ea6838b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon_node/http_api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1888,7 +1888,7 @@ pub fn serve<T: BeaconChainTypes>(
let should_register = {
let validator_monitor = chain.validator_monitor.read();
validator_monitor.auto_register_enabled()
&& validator_monitor
&& !validator_monitor
.contains_validator(subscription.validator_index)
};
if should_register {
Expand Down

0 comments on commit ea6838b

Please sign in to comment.