aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-08-19 04:54:16 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-08-19 04:54:16 +0800
commita5a32f3d5742972586893741847ea4516afa19ac (patch)
tree818d4d3d4ed076d17cffdbafd93749f144413665 /app/scripts/controllers
parentbf8a62eb39aac454c1f23e549078ce5f4b8a2d2a (diff)
downloadtangerine-wallet-browser-a5a32f3d5742972586893741847ea4516afa19ac.tar.gz
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.js7
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)