Skip to content

Commit

Permalink
Update feeutils.go
Browse files Browse the repository at this point in the history
- LCD fix for missing "burn-tax" calculation
  • Loading branch information
ZaradarBH authored Oct 15, 2022
1 parent e6b372a commit 403cc12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom/auth/client/utils/feeutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (
"github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx"
"github.com/cosmos/cosmos-sdk/x/authz"

ante "github.com/terra-money/core/custom/auth/ante"
core "github.com/terra-money/core/types"

banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
Expand Down Expand Up @@ -265,7 +266,7 @@ func FilterMsgAndComputeTax(clientCtx client.Context, msgs ...sdk.Msg) (taxes sd
func computeTax(clientCtx client.Context, taxRate sdk.Dec, principal sdk.Coins) (taxes sdk.Coins, err error) {
for _, coin := range principal {

if coin.Denom == core.MicroLunaDenom {
if coin.Denom == core.MicroLunaDenom && clientCtx.Height < ante.TaxPowerUpgradeHeight {
continue
}

Expand Down

0 comments on commit 403cc12

Please sign in to comment.