Skip to content

Commit

Permalink
Merge pull request #1637 from nervosnetwork/testnet
Browse files Browse the repository at this point in the history
Deploy to mainnet
  • Loading branch information
rabbitz authored Feb 22, 2024
2 parents 8b50d25 + 1f09492 commit 06471dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/api/v2/ckb_transactions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def details
end

def display_inputs
expires_in 1.hour, public: true, must_revalidate: true
expires_in 15.seconds, public: true, must_revalidate: true

ckb_transaction = CkbTransaction.find_by(tx_hash: params[:id])
head :not_found and return if ckb_transaction.blank?
Expand All @@ -41,7 +41,7 @@ def display_inputs
end

def display_outputs
expires_in 1.hour, public: true, must_revalidate: true
expires_in 15.seconds, public: true, must_revalidate: true

ckb_transaction = CkbTransaction.find_by(tx_hash: params[:id])
head :not_found and return if ckb_transaction.blank?
Expand Down

0 comments on commit 06471dc

Please sign in to comment.