Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
karasakalmt committed Dec 1, 2023
1 parent a4302c4 commit f27c911
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/lambda_ethereum_consensus/fork_choice/helpers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defmodule LambdaEthereumConsensus.ForkChoice.Helpers do

@spec current_status_message() ::
{:ok, SszTypes.StatusMessage.t()} | {:error, any}
def current_status_message(store) do
def current_status_message do
with {:ok, store} <- LambdaEthereumConsensus.ForkChoice.Store.get_store(),
{:ok, head_root} <- get_head(store),
{:ok, state} <- LambdaEthereumConsensus.Store.StateStore.get_state(head_root),
Expand Down
2 changes: 1 addition & 1 deletion lib/lambda_ethereum_consensus/fork_choice/store.ex
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ defmodule LambdaEthereumConsensus.ForkChoice.Store do
end

@spec get_store() :: {:ok, SszTypes.Store.t()}
def get_store() do
def get_store do
[
time,
genesis_time,
Expand Down

0 comments on commit f27c911

Please sign in to comment.