Skip to content

Commit

Permalink
Remove check unrelated
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong committed Jun 3, 2024
1 parent 913960e commit edd9f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relayer/relays/beefy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (relay *Relay) OneShotSync(ctx context.Context, blockNumber uint64) error {
}

// Submit the task
if task.SignedCommitment.Commitment.ValidatorSetID == state.CurrentValidatorSetID || task.SignedCommitment.Commitment.ValidatorSetID == state.NextValidatorSetID-1 {
if task.SignedCommitment.Commitment.ValidatorSetID == state.CurrentValidatorSetID {
task.ValidatorsRoot = state.CurrentValidatorSetRoot
} else {
task.ValidatorsRoot = state.NextValidatorSetRoot
Expand Down

0 comments on commit edd9f21

Please sign in to comment.