Skip to content

Commit fa0d29b

Browse files
authored
Merge pull request #2707 from nervosnetwork/develop
Deploy to testnet
2 parents 2442119 + 1b31854 commit fa0d29b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/interactions/addresses/live_cells.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ def filter_by_tag(scope)
6363
scope.where(lock_script_id: filtered_ids)
6464
when "deployment"
6565
scope_ids = scope.pluck(:id)
66-
matched_ids = Contract.where(deployed_cell_output_id: scope_ids).pluck(:deployed_cell_output_id)
66+
deployed_ids = Contract.pluck(:deployed_cell_output_id)
67+
matched_ids = scope_ids & deployed_ids
6768
scope.where(id: matched_ids)
6869
else
6970
CellOutput.none

0 commit comments

Comments
 (0)