Skip to content

Commit

Permalink
improved variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
ws4charlie committed Apr 29, 2024
1 parent 2a1433d commit 23b7930
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/crosschain/keeper/grpc_query_cctx_rate_limit.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,9 @@ func rateLimitExceeded(
erc20CoinRates map[int64]map[string]sdk.Dec,
foreignCoinMap map[int64]map[string]fungibletypes.ForeignCoins,
currentCctxValue *sdkmath.Int,
withdrawLimitInZeta sdkmath.Int,
withdrawLimitInAzeta sdkmath.Int,
) bool {
cctxValueAzeta := ConvertCctxValue(chainID, cctx, gasCoinRates, erc20CoinRates, foreignCoinMap)
*currentCctxValue = currentCctxValue.Add(cctxValueAzeta)
return currentCctxValue.GT(withdrawLimitInZeta)
return currentCctxValue.GT(withdrawLimitInAzeta)
}

0 comments on commit 23b7930

Please sign in to comment.