diff options
author | Bruno Barbieri <brunobar79@gmail.com> | 2018-01-31 16:33:15 +0800 |
---|---|---|
committer | Bruno Barbieri <brunobar79@gmail.com> | 2018-01-31 16:33:15 +0800 |
commit | e6fda855a556a6aa0325556b074612ff76925e5d (patch) | |
tree | 8f90ac4834fbd2ab5c6e9db591f4e2fa9676297c /app/scripts/lib/tx-state-manager.js | |
parent | 1a32690a12e053a99396b2f2da1dc08eb03517f2 (diff) | |
download | tangerine-wallet-browser-e6fda855a556a6aa0325556b074612ff76925e5d.tar tangerine-wallet-browser-e6fda855a556a6aa0325556b074612ff76925e5d.tar.gz tangerine-wallet-browser-e6fda855a556a6aa0325556b074612ff76925e5d.tar.bz2 tangerine-wallet-browser-e6fda855a556a6aa0325556b074612ff76925e5d.tar.lz tangerine-wallet-browser-e6fda855a556a6aa0325556b074612ff76925e5d.tar.xz tangerine-wallet-browser-e6fda855a556a6aa0325556b074612ff76925e5d.tar.zst tangerine-wallet-browser-e6fda855a556a6aa0325556b074612ff76925e5d.zip |
added reset account feature
Diffstat (limited to 'app/scripts/lib/tx-state-manager.js')
-rw-r--r-- | app/scripts/lib/tx-state-manager.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/scripts/lib/tx-state-manager.js b/app/scripts/lib/tx-state-manager.js index a8ef39891..61ce2024a 100644 --- a/app/scripts/lib/tx-state-manager.js +++ b/app/scripts/lib/tx-state-manager.js @@ -221,6 +221,10 @@ module.exports = class TransactionStateManger extends EventEmitter { this._setTxStatus(txId, 'failed') } + wipeTransactions(){ + this._saveTxList([]); + } + // // PRIVATE METHODS // |