diff --git a/apps/explorer/test/explorer/chain/csv_export/address_log_csv_exporter_test.exs b/apps/explorer/test/explorer/chain/csv_export/address_log_csv_exporter_test.exs index b863792f81..bff1ca818d 100644 --- a/apps/explorer/test/explorer/chain/csv_export/address_log_csv_exporter_test.exs +++ b/apps/explorer/test/explorer/chain/csv_export/address_log_csv_exporter_test.exs @@ -1,6 +1,7 @@ defmodule Explorer.Chain.AddressLogCsvExporterTest do use Explorer.DataCase + alias Explorer.Chain.Address alias Explorer.Chain.CSVExport.AddressLogCsvExporter describe "export/3" do @@ -74,7 +75,7 @@ defmodule Explorer.Chain.AddressLogCsvExporterTest do assert result.index == to_string(log.index) assert result.block_number == to_string(log.block_number) assert result.block_hash == to_string(log.block_hash) - assert result.address == String.downcase(to_string(log.address)) + assert result.address == Address.checksum(log.address.hash) assert result.data == to_string(log.data) assert result.first_topic == to_string(log.first_topic) assert result.second_topic == to_string(log.second_topic)