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 ae73de2 commit 03177f2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions x/orderbook/keeper/bet_wager.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ func (k Keeper) initFulfillmentInfo(
exposures, found := peMap[bp.Index]
if !found {
err = sdkerrors.Wrapf(types.ErrParticipationExposuresNotFound, "%s, %d", book.UID, bp.Index)
return
}
fInfo.fulfillmentMap[bp.Index] = fulfillmentItem{
participation: bp,
Expand Down Expand Up @@ -482,7 +483,7 @@ func (fInfo *fulfillmentInfo) checkFullfillmentForOtherOdds(requeThreshold sdkma
return
}

// check if other exposures are fullfilled according to new max loss multipliers
// check if other exposures are fulfilled according to new max loss multipliers
for _, oddUID := range fInfo.oddUIDS {
exposure, ok := fInfo.inProcessItem.allExposures[oddUID]
if !ok {
Expand Down Expand Up @@ -510,7 +511,7 @@ func (fInfo *fulfillmentInfo) checkFullfillmentForOtherOdds(requeThreshold sdkma
}

}
return
return eUpdate, err
}

func (fInfo *fulfillmentInfo) setItemFulfilledAndRemove() {
Expand Down

0 comments on commit 03177f2

Please sign in to comment.