We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9735c8 commit c3b54c4Copy full SHA for c3b54c4
lib/lambda_ethereum_consensus/p2p/gossip/blob_sidecar.ex
@@ -19,7 +19,7 @@ defmodule LambdaEthereumConsensus.P2P.Gossip.BlobSideCar do
19
Logger.debug("[Gossip] Blob sidecar received, with index #{blob_index}")
20
Libp2pPort.validate_message(msg_id, :accept)
21
# TODO: (#1406) Enhance the API to reduce unnecessary wrappers (:ok + list)
22
- PendingBlocks.process_blobs(store, {:ok, [blob]})
+ PendingBlocks.process_blobs(store, {:ok, [blob]}) |> then(&elem(&1, 1))
23
else
24
{:error, reason} ->
25
Logger.warning("[Gossip] Blob rejected, reason: #{inspect(reason)}")
0 commit comments