diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-08-19 04:54:16 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-08-19 04:54:16 +0800 |
commit | a5a32f3d5742972586893741847ea4516afa19ac (patch) | |
tree | 818d4d3d4ed076d17cffdbafd93749f144413665 /app/scripts/controllers | |
parent | bf8a62eb39aac454c1f23e549078ce5f4b8a2d2a (diff) | |
download | tangerine-wallet-browser-a5a32f3d5742972586893741847ea4516afa19ac.tar tangerine-wallet-browser-a5a32f3d5742972586893741847ea4516afa19ac.tar.gz tangerine-wallet-browser-a5a32f3d5742972586893741847ea4516afa19ac.tar.bz2 tangerine-wallet-browser-a5a32f3d5742972586893741847ea4516afa19ac.tar.lz tangerine-wallet-browser-a5a32f3d5742972586893741847ea4516afa19ac.tar.xz tangerine-wallet-browser-a5a32f3d5742972586893741847ea4516afa19ac.tar.zst tangerine-wallet-browser-a5a32f3d5742972586893741847ea4516afa19ac.zip |
use "localNonce" when the network returns a nonce that is lower then a known confirmed tx
Diffstat (limited to 'app/scripts/controllers')
-rw-r--r-- | app/scripts/controllers/transactions.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js index 58c468e22..f21cb6e00 100644 --- a/app/scripts/controllers/transactions.js +++ b/app/scripts/controllers/transactions.js @@ -33,6 +33,13 @@ module.exports = class TransactionController extends EventEmitter { err: undefined, }) }, + getConfirmedTransactions: (address) => { + return this.getFilteredTxList({ + from: address, + status: 'confirmed', + err: undefined, + }) + }, }) this.query = new EthQuery(this.provider) this.txProviderUtil = new TxProviderUtil(this.provider) |