Skip to content

Commit

Permalink
fix: cache was returning true instead of block (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaRedHand authored Jan 17, 2024
1 parent de3545b commit 9e48f58
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 9e48f58

Please sign in to comment.