diff --git a/apps/explorer/lib/explorer/chain/import.ex b/apps/explorer/lib/explorer/chain/import.ex index cc1e99e16b..2704fa4157 100644 --- a/apps/explorer/lib/explorer/chain/import.ex +++ b/apps/explorer/lib/explorer/chain/import.ex @@ -724,7 +724,7 @@ defmodule Explorer.Chain.Import do {:ok, blocks} = insert_changes_list( ordered_changes_list, - conflict_target: :number, + conflict_target: :hash, on_conflict: :replace_all, for: Block, returning: true,