Skip to content

Commit

Permalink
lint: fogumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpioborn committed Apr 18, 2024
1 parent 58ba739 commit 5071420
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions x/reward/types/reward.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ func NewRewardFactoryData(receiver Receiver, common RewardPayloadCommon) RewardF

func newRewardAmount(mainAccountAmount, subaccountAmount sdkmath.Int,
mainAccountPercentage, subaccountPercentage sdk.Dec,
unlockPeriod uint64) RewardAmount {
unlockPeriod uint64,
) RewardAmount {
return RewardAmount{
MainAccountAmount: mainAccountAmount,
SubaccountAmount: subaccountAmount,
Expand Down Expand Up @@ -112,7 +113,8 @@ type IRewardFactory interface {
func NewReceiver(maAddr, saAddr string,
maAmount, saAmount sdkmath.Int,
maPercentage, saPercentage sdk.Dec,
unlockPeriod uint64) Receiver {
unlockPeriod uint64,
) Receiver {
return Receiver{
SubaccountAddr: saAddr,
MainAccountAddr: maAddr,
Expand Down

0 comments on commit 5071420

Please sign in to comment.