Skip to content

Commit

Permalink
Fix credo warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alisinabh committed Jan 10, 2025
1 parent 5158568 commit ec7c344
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/ethers/transaction.ex
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ defmodule Ethers.Transaction do
}

# Margin precision is 0.01% (12345 = 123.45%)
@margin_precision 10000
@margin_precision 10_000

@typedoc """
EVM Transaction type
Expand Down Expand Up @@ -429,12 +429,12 @@ defmodule Ethers.Transaction do
def default_transaction_type, do: @default_transaction_type

defp gas_with_margin(value) do
margin = Application.get_env(:ethers, :default_gas_margin, 11000)
margin = Application.get_env(:ethers, :default_gas_margin, 11_000)
with_margin(value, margin)
end

defp max_fee_per_gas_with_margin(value) do
margin = Application.get_env(:ethers, :default_max_fee_per_gas_margin, 12000)
margin = Application.get_env(:ethers, :default_max_fee_per_gas_margin, 12_000)
with_margin(value, margin)
end

Expand Down

0 comments on commit ec7c344

Please sign in to comment.