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 15, 2024
1 parent a4c19f5 commit 5964430
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 @@ -103,7 +103,7 @@ def self.parse_cell_dpes_from_ckb_transaction(ckb_transaction, cell_deps)
unique_by: %i[ckb_transaction_id contract_cell_id])
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 5964430

Please sign in to comment.