Skip to content

Commit

Permalink
fix: Fixed issue in db request (l2_to_l1_message_by_id/2) (blockscout…
Browse files Browse the repository at this point in the history
  • Loading branch information
EvgenKor authored Dec 18, 2024
1 parent 3275454 commit cd1e95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/explorer/lib/explorer/chain/arbitrum/reader.ex
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ defmodule Explorer.Chain.Arbitrum.Reader do
def l2_to_l1_message_by_id(message_id, options) do
query =
from(message in Message,
where: message.message_id == ^message_id
where: message.direction == :from_l2 and message.message_id == ^message_id
)

select_repo(options).one(query)
Expand Down

0 comments on commit cd1e95b

Please sign in to comment.