aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-12-07 11:20:11 +0800
committerDan Finlay <dan@danfinlay.com>2017-12-07 11:20:58 +0800
commit6ff580584a74c6d85f54ce7cfc500db822904957 (patch)
tree9352690d0f68bb33ab0bb409a97c29905bf20150 /ui/app/actions.js
parenta78cc013d199547ba865a0d1c2fec9a328ce7e0b (diff)
downloadtangerine-wallet-browser-6ff580584a74c6d85f54ce7cfc500db822904957.tar
tangerine-wallet-browser-6ff580584a74c6d85f54ce7cfc500db822904957.tar.gz
tangerine-wallet-browser-6ff580584a74c6d85f54ce7cfc500db822904957.tar.bz2
tangerine-wallet-browser-6ff580584a74c6d85f54ce7cfc500db822904957.tar.lz
tangerine-wallet-browser-6ff580584a74c6d85f54ce7cfc500db822904957.tar.xz
tangerine-wallet-browser-6ff580584a74c6d85f54ce7cfc500db822904957.tar.zst
tangerine-wallet-browser-6ff580584a74c6d85f54ce7cfc500db822904957.zip
Add retry background method and action
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 04fd35b20..2ab68b62d 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -168,6 +168,7 @@ var actions = {
callBackgroundThenUpdate,
forceUpdateMetamaskState,
+ retryTransaction,
}
module.exports = actions
@@ -759,6 +760,11 @@ function markAccountsFound () {
return callBackgroundThenUpdate(background.markAccountsFound)
}
+function retryTransaction () {
+ log.debug(`background.retryTransaction`)
+ return callBackgroundThenUpdate(background.retryTransaction)
+}
+
//
// config
//