Skip to content

Commit

Permalink
silly bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sainoe committed Nov 15, 2023
1 parent 7374355 commit db94dc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/ccv/provider/keeper/misbehaviour.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ func (k Keeper) GetByzantineValidators(ctx sdk.Context, misbehaviour ibctmtypes.
// construct the trusted and conflicted light blocks
lightBlock1, err := headerToLightBlock(*misbehaviour.Header1)
if err != nil {
return validators, nil
return validators, err
}
lightBlock2, err := headerToLightBlock(*misbehaviour.Header2)
if err != nil {
return validators, nil
return validators, err
}

// Check if the misbehaviour corresponds to an Amnesia attack,
Expand Down

0 comments on commit db94dc3

Please sign in to comment.