Skip to content

Commit

Permalink
Fix cache returning true
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaRedHand committed Jan 17, 2024
1 parent de3545b commit 96dca8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/lambda_ethereum_consensus/store/blocks.ex
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,6 @@ defmodule LambdaEthereumConsensus.Store.Blocks do

defp cache_block(block_root, signed_block) do
:ets.insert_new(@ets_block_by_hash, {block_root, signed_block})
signed_block
end
end

0 comments on commit 96dca8e

Please sign in to comment.