Skip to content

Commit

Permalink
fix assemble
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Apr 12, 2024
1 parent 2cf0e1c commit 27c99e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public void onPrimaryNodeNotReady() {
}

@Override
@SuppressWarnings("FutureReturnValueIgnored")
public void onFailoverNodeNotReady(final RemoteValidatorApiChannel failoverNotInSync) {
if (currentEventStreamHasSameEndpoint(failoverNotInSync)) {
final boolean switched = switchToFailoverEventStreamIfAvailable();
Expand Down Expand Up @@ -183,7 +184,6 @@ private synchronized boolean switchToFailoverEventStreamIfAvailable() {
return findReadyFailoverAndSwitch();
}

@SuppressWarnings("FutureReturnValueIgnored")
private boolean findReadyFailoverAndSwitch() {
final Optional<? extends RemoteValidatorApiChannel> readyFailover =
failoverBeaconNodeApis.stream()
Expand Down

0 comments on commit 27c99e8

Please sign in to comment.