Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
P-U-D-G-E committed Sep 26, 2023
1 parent 03177f2 commit 02dbbf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/orderbook/keeper/bet_wager.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ func (k Keeper) initFulfillmentInfo(
err = sdkerrors.Wrapf(types.ErrParticipationExposuresNotFound, "%s, %s", book.UID, oddsUID)
return
}
for oddUID, poMap := range peMap {
if book.OddsCount != cast.ToUint64(len(poMap)) {
for oddUID := range peMap {
if book.OddsCount != cast.ToUint64(len(peMap[oddUID])) {
err = sdkerrors.Wrapf(types.ErrParticipationExposuresNotFound, "%s, %s", book.UID, oddUID)
return
}
Expand Down

0 comments on commit 02dbbf9

Please sign in to comment.