Skip to content

Commit

Permalink
Fix oracle chain display order to be consistent as new transaction ar…
Browse files Browse the repository at this point in the history
…e prepended in the list
  • Loading branch information
Neylix authored and samuelmanzanera committed Oct 4, 2022
1 parent 19e8f79 commit 4a5eac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/archethic_web/live/chains/oracle_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ defmodule ArchethicWeb.OracleChainLive do
} ->
%{address: address, type: type, timestamp: timestamp}
end)
|> Enum.to_list()
|> Enum.reverse()
end

defp list_transactions_by_date(nil), do: []
Expand Down

0 comments on commit 4a5eac8

Please sign in to comment.