Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions explorer/lib/explorer_web/live/utils.ex
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ defmodule Utils do
def calculate_proof_hashes(deserialized_batch) do
deserialized_batch
|> Enum.map(fn s3_object ->
ExKeccak.hash_256(:erlang.list_to_binary(s3_object["proof"]))
ExKeccak.hash_256(s3_object["proof"].value)
end)
end

Expand Down Expand Up @@ -378,9 +378,9 @@ defmodule Utils do
def fetch_batch_data_pointer_with_multiple_urls(batch_data_pointers) do
# Parse comma-separated URLs and limit to max 5
urls = parse_batch_urls(batch_data_pointers)

errors = []

# Try each URL until first successful response
try_urls(urls, errors)
end
Expand Down