Skip to content

Commit f02928d

Browse files
authored
Merge pull request #2452 from nervosnetwork/develop
Deploy to testnet
2 parents 6cfce1c + 591182f commit f02928d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ GEM
346346
nio4r (~> 2.0)
347347
raabro (1.4.0)
348348
racc (1.8.1)
349-
rack (2.2.10)
349+
rack (2.2.13)
350350
rack-attack (6.6.1)
351351
rack (>= 1.0, < 3)
352352
rack-cache (1.13.0)

app/workers/pool_transaction_check_worker.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ class PoolTransactionCheckWorker
66

77
def perform
88
pending_transactions = CkbTransaction.tx_pending.where("created_at < ?",
9-
5.minutes.ago).limit(100)
9+
10.minutes.ago).limit(100)
1010
pending_transactions.each do |tx|
1111
committed_tx = CkbTransaction.find_by(tx_hash: tx.tx_hash, tx_status: "committed")
12-
if committed_tx
12+
if committed_tx && tx.reload.tx_pending?
1313
tx.cell_inputs.delete_all
1414
tx.delete
1515
else

0 commit comments

Comments
 (0)