We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6aa3bf commit de2f3d5Copy full SHA for de2f3d5
explorer/lib/explorer_web/live/eth_converter.ex
@@ -58,6 +58,8 @@ defmodule EthConverter do
58
end
59
60
61
+ defp round_to_sf(%Decimal{coef: 0} = _value, _sf), do: Decimal.new("0")
62
+
63
defp round_to_sf(value, significant_figures) do
64
# Convert the value to a float and calculate the magnitude
65
value_float = Decimal.to_float(value)
explorer/lib/explorer_web/live/pages/home/index.ex
@@ -154,7 +154,7 @@ defmodule ExplorerWeb.Home.Index do
154
|> assign(
155
stats: [],
156
latest_batches: [],
157
- cost_per_proof_data: %{points: [], extra_data: %{}},
+ cost_per_proof_chart: %{points: [], extra_data: %{}},
158
batch_size_chart_data: %{points: [], extra_data: %{}}
159
)
160
0 commit comments