diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-10-07 02:33:14 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-10-07 02:41:28 +0800 |
commit | 0146b55d6d7bd8717b3f3ad071c64744e21a93fd (patch) | |
tree | 669ab74c1009b8ac3d4b08230d6cd8cd56deb272 | |
parent | 53da368d2370edbb78eca063ff701c0492abbff6 (diff) | |
download | tangerine-wallet-browser-0146b55d6d7bd8717b3f3ad071c64744e21a93fd.tar tangerine-wallet-browser-0146b55d6d7bd8717b3f3ad071c64744e21a93fd.tar.gz tangerine-wallet-browser-0146b55d6d7bd8717b3f3ad071c64744e21a93fd.tar.bz2 tangerine-wallet-browser-0146b55d6d7bd8717b3f3ad071c64744e21a93fd.tar.lz tangerine-wallet-browser-0146b55d6d7bd8717b3f3ad071c64744e21a93fd.tar.xz tangerine-wallet-browser-0146b55d6d7bd8717b3f3ad071c64744e21a93fd.tar.zst tangerine-wallet-browser-0146b55d6d7bd8717b3f3ad071c64744e21a93fd.zip |
Check status of pending transactions on startup
Fixes #1531
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | app/scripts/lib/pending-tx-tracker.js | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e9fb2530..c037508e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Current Master +- Fix bug where some transactions would be shown as pending forever, even after successfully mined. + ## 3.10.9 2017-10-5 - Only rebrodcast transactions for a day not a days worth of blocks diff --git a/app/scripts/lib/pending-tx-tracker.js b/app/scripts/lib/pending-tx-tracker.js index 8a626e222..5049cc4b4 100644 --- a/app/scripts/lib/pending-tx-tracker.js +++ b/app/scripts/lib/pending-tx-tracker.js @@ -26,6 +26,7 @@ module.exports = class PendingTransactionTracker extends EventEmitter { this.retryTimePeriod = config.retryTimePeriod || 86400000 this.getPendingTransactions = config.getPendingTransactions this.publishTransaction = config.publishTransaction + this._checkPendingTxs() } // checks if a signed tx is in a block and |