Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Miles Zhang <[email protected]>
  • Loading branch information
zmcNotafraid committed Nov 16, 2024
1 parent 5a23f84 commit c506ea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/cell_dependency.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def self.parse_cell_dpes_from_ckb_transaction(ckb_transaction, cell_deps)
unique_by: %i[ckb_transaction_id contract_cell_id], update_only: %i[block_number tx_index])
CellDepsOutPoint.upsert_all(cell_deps_out_points_attrs,
unique_by: %i[contract_cell_id deployed_cell_output_id])
# Contract.upsert_all(contract_attrs, unique_by: %i[deployed_cell_output_id], update_only: %i[is_lock_script is_type_script])
Contract.upsert_all(contract_attrs, unique_by: %i[deployed_cell_output_id], update_only: %i[is_lock_script is_type_script])
end
end

Expand Down

0 comments on commit c506ea1

Please sign in to comment.