diff --git a/app/models/ckb_transaction.rb b/app/models/ckb_transaction.rb index cf89344c1..a91735da9 100644 --- a/app/models/ckb_transaction.rb +++ b/app/models/ckb_transaction.rb @@ -56,7 +56,6 @@ class CkbTransaction < ApplicationRecord after_commit :flush_cache before_destroy :recover_dead_cell - before_destroy :log_deletion_chain def self.cached_find(query_key) Rails.cache.realize([name, query_key], race_condition_ttl: 3.seconds) do @@ -246,12 +245,6 @@ def self.last_n_days_transaction_fee_rates(last_n_day) def recover_dead_cell inputs.update_all(status: "live", consumed_by_id: nil, consumed_block_timestamp: nil) end - - def log_deletion_chain - if tx_committed? - Rails.logger.info "Deleting #{self.class.name} with tx_hash #{tx_hash}, block_number #{block_number} using #{caller}" - end - end end # == Schema Information