File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ def perform(number)
1313 @txids = [ ] # bitcoin txids
1414 @rgbpp_cell_ids = [ ] # rgbpp cells
1515 @btc_time_cell_ids = [ ] # btc time cells
16- @ckb_txids = [ ]
1716
1817 ApplicationRecord . transaction do
1918 block . ckb_transactions . includes ( input_cells : [ :lock_script ] , cell_outputs : [ :lock_script ] ) . each do |transaction |
@@ -49,8 +48,6 @@ def collect_rgb_ids(cell_output)
4948 ) . exists?
5049 @rgbpp_cell_ids << cell_output_id
5150 @txids << txid
52- @ckb_txids << cell_output . ckb_transaction_id
53- @ckb_txids << cell_output . consumed_by_id
5451 end
5552 end
5653
@@ -63,8 +60,6 @@ def collect_rgb_ids(cell_output)
6360 ) . exists?
6461 @btc_time_cell_ids << cell_output_id
6562 @txids << txid
66- @ckb_txids << cell_output . ckb_transaction_id
67- @ckb_txids << cell_output . consumed_by_id
6863 end
6964 end
7065 end
@@ -96,7 +91,7 @@ def cache_raw_transactions!
9691 def build_bitcoin_annotations!
9792 annotations = [ ]
9893
99- @block . ckb_transactions . where ( id : @ckb_txids ) . each do |transaction |
94+ @block . ckb_transactions . each do |transaction |
10095 leap_direction , transfer_step = annotation_workflow_attributes ( transaction )
10196 tags = annotation_tags ( transaction )
10297
You can’t perform that action at this time.
0 commit comments