We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2442119 + 1b31854 commit fa0d29bCopy full SHA for fa0d29b
app/interactions/addresses/live_cells.rb
@@ -63,7 +63,8 @@ def filter_by_tag(scope)
63
scope.where(lock_script_id: filtered_ids)
64
when "deployment"
65
scope_ids = scope.pluck(:id)
66
- matched_ids = Contract.where(deployed_cell_output_id: scope_ids).pluck(:deployed_cell_output_id)
+ deployed_ids = Contract.pluck(:deployed_cell_output_id)
67
+ matched_ids = scope_ids & deployed_ids
68
scope.where(id: matched_ids)
69
else
70
CellOutput.none
0 commit comments