Skip to content

Commit

Permalink
Merge pull request #1494 from nervosnetwork/develop
Browse files Browse the repository at this point in the history
Deploy to testnet
  • Loading branch information
rabbitz authored Nov 7, 2023
2 parents 5003653 + 442d9bc commit 49ecfd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/ckb_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,8 @@ def recover_dead_cell
end

def log_deletion_chain
unless tx_pending?
Rails.logger.info "Deleting #{self.class.name} with ID #{id} using #{caller}: #{as_json}"
if tx_committed?
Rails.logger.info "Deleting #{self.class.name} with tx_hash #{tx_hash}, block_number #{block_number} using #{caller}"
end
end
end
Expand Down

0 comments on commit 49ecfd4

Please sign in to comment.