Skip to content

Commit c3b54c4

Browse files
authored
fix: handle_gossip_message nesting store into a tuple (#1443)
1 parent a9735c8 commit c3b54c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/lambda_ethereum_consensus/p2p/gossip/blob_sidecar.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ defmodule LambdaEthereumConsensus.P2P.Gossip.BlobSideCar do
1919
Logger.debug("[Gossip] Blob sidecar received, with index #{blob_index}")
2020
Libp2pPort.validate_message(msg_id, :accept)
2121
# TODO: (#1406) Enhance the API to reduce unnecessary wrappers (:ok + list)
22-
PendingBlocks.process_blobs(store, {:ok, [blob]})
22+
PendingBlocks.process_blobs(store, {:ok, [blob]}) |> then(&elem(&1, 1))
2323
else
2424
{:error, reason} ->
2525
Logger.warning("[Gossip] Blob rejected, reason: #{inspect(reason)}")

0 commit comments

Comments
 (0)