Skip to content

Commit

Permalink
Merge pull request #2190 from nervosnetwork/develop
Browse files Browse the repository at this point in the history
Deploy to testnet
  • Loading branch information
zmcNotafraid committed Sep 10, 2024
2 parents 2b1c74e + 6a07dfb commit e97a68e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/models/ckb_sync/new_node_data_processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -814,8 +814,8 @@ def build_cells_and_locks!(
contract = Contract.create code_hash: lock_script.script_hash
temp_hash = temp_hash.merge contract_id: contract.id
end
script = Script.find_or_create_by temp_hash
lock_script.update script_id: script.id
# script = Script.find_or_create_by temp_hash
# lock_script.update script_id: script.id
end
end

Expand All @@ -835,8 +835,8 @@ def build_cells_and_locks!(
contract = Contract.create code_hash: type_script.script_hash
temp_hash = temp_hash.merge contract_id: contract.id
end
script = Script.find_or_create_by temp_hash
type_script.update script_id: script.id
# script = Script.find_or_create_by temp_hash
# type_script.update script_id: script.id
end
end
build_addresses!(outputs, local_block)
Expand Down

0 comments on commit e97a68e

Please sign in to comment.