Skip to content

Commit

Permalink
state fetch changed
Browse files Browse the repository at this point in the history
  • Loading branch information
karasakalmt committed Dec 11, 2023
1 parent 3767db8 commit 7c1f64c
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -13,7 +13,7 @@ defmodule LambdaEthereumConsensus.ForkChoice.Helpers do
{:ok, SszTypes.StatusMessage.t()} | {:error, any}
def current_status_message(store) do
with {:ok, head_root} <- get_head(store),
{:ok, state} <- StateStore.get_state(head_root) do
{:ok, state} <- Map.fetch(store.block_states, head_root) do
{:ok,
%SszTypes.StatusMessage{
fork_digest:
Expand Down

0 comments on commit 7c1f64c

Please sign in to comment.