Skip to content

Commit

Permalink
- fix wrong variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
StrathCole committed Jul 30, 2024
1 parent 94ec088 commit 04399d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom/auth/ante/fee.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func (fd FeeDecorator) checkDeductFee(ctx sdk.Context, feeTx sdk.FeeTx, taxes sd
}

if !feesOrTax.IsZero() {
err := DeductFees(fd.bankKeeper, ctx, deductFeesFromAcc, fee)
err := DeductFees(fd.bankKeeper, ctx, deductFeesFromAcc, feesOrTax)
if err != nil {
return err
}
Expand Down

0 comments on commit 04399d5

Please sign in to comment.