Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilxTenfen committed Jan 31, 2025
1 parent 80f24c7 commit 1617511
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/e2e/configurer/chain/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ func (n *NodeConfig) WithdrawRewardCheckingBalances(sType, fromAddr string) {
expectedAmt := balanceBeforeRwdWithdraw.Add(coinsReceivedWithdraw...).Sub(txResp.AuthInfo.Fee.Amount...).String()
require.Equal(n.t, expectedAmt, actualAmt, "Expected(after withdraw): %s, actual(before withdraw + withdraw - TxFees): %s", expectedAmt, actualAmt)

n.t.Logf("BalanceAfterRwdWithdraw: %s; BalanceBeforeRwdWithdraw: %s, txFees: %s, CoinsReceivedWithdraw", balanceAfterRwdWithdraw.String(), balanceBeforeRwdWithdraw.String(), txResp.AuthInfo.Fee.Amount.String(), coinsReceivedWithdraw.String())
n.t.Logf("BalanceAfterRwdWithdraw: %s; BalanceBeforeRwdWithdraw: %s, txFees: %s, CoinsReceivedWithdraw: %s", balanceAfterRwdWithdraw.String(), balanceBeforeRwdWithdraw.String(), txResp.AuthInfo.Fee.Amount.String(), coinsReceivedWithdraw.String())
}

// TxMultisigSign sign a tx in a file with one wallet for a multisig address.
Expand Down
5 changes: 1 addition & 4 deletions x/incentive/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,5 @@ func HashMsg(msg sdk.Msg) []byte {

// ToRewardGauge parses to RewardGauge
func (rgr RewardGaugesResponse) ToRewardGauge() RewardGauge {
return RewardGauge{
Coins: rgr.Coins,
WithdrawnCoins: rgr.WithdrawnCoins,
}
return RewardGauge(rgr)
}

0 comments on commit 1617511

Please sign in to comment.