Skip to content

Commit

Permalink
fix(tally): return zero for filter gas used if filter has not been ap…
Browse files Browse the repository at this point in the history
…plied
  • Loading branch information
hacheigriega committed Dec 18, 2024
1 parent 03cb3c4 commit f363304
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/tally/keeper/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ func (k Keeper) ApplyFilter(ctx sdk.Context, input []byte, reveals []types.Revea
return result, types.ErrInvalidFilterType
}
if err != nil {
result.GasUsed = 0
return result, err
}

Expand Down

0 comments on commit f363304

Please sign in to comment.