Fix for dialyzer

pull/7584/head
POA 2 years ago
parent 242cac2b4e
commit a920650c7b
  1. 2
      apps/explorer/lib/explorer/chain.ex

@ -1745,7 +1745,7 @@ defmodule Explorer.Chain do
`:required`, and the `t:Explorer.Chain.Transaction.t/0` has no associated record for that association, then the
`t:Explorer.Chain.Transaction.t/0` will not be included in the page `entries`.
"""
@spec hashes_to_transactions([Hash.Full.t()], [necessity_by_association_option]) :: [Transaction.t()] | []
@spec hashes_to_transactions([Hash.Full.t()], [necessity_by_association_option | api?]) :: [Transaction.t()] | []
def hashes_to_transactions(hashes, options \\ []) when is_list(hashes) and is_list(options) do
necessity_by_association = Keyword.get(options, :necessity_by_association, %{})

Loading…
Cancel
Save