Skip to content

Commit

Permalink
changes to fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
oren-lava committed Jun 4, 2023
1 parent 5b5ee00 commit 5eb91c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion protocol/rpcprovider/rewardserver/reward_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (rws *RewardServer) sendRewardsClaim(ctx context.Context, epoch uint64) err
func (rws *RewardServer) identifyMissingPayments(ctx context.Context) (missingPayments bool, err error) {
lastBlockInMemory, err := rws.rewardsTxSender.EarliestBlockInMemory(ctx)
if err != nil {
return
return false, err
}
rws.lock.Lock()
defer rws.lock.Unlock()
Expand Down
2 changes: 1 addition & 1 deletion x/pairing/keeper/pairing.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func (k Keeper) returnSubsetOfProvidersByStake(ctx sdk.Context, clientAddress st
}
if stakeSum.IsZero() {
// list is empty
return
return returnedProviders
}

// add the session start block hash to the function to make it as unpredictable as we can
Expand Down

0 comments on commit 5eb91c8

Please sign in to comment.