diff options
author | Dan Miller <danjm.com@gmail.com> | 2018-08-09 02:34:52 +0800 |
---|---|---|
committer | Dan Miller <danjm.com@gmail.com> | 2018-08-09 03:34:42 +0800 |
commit | e98c3b4c01b990678ac58f45448d0e2548396a2b (patch) | |
tree | c31879bd39038e85b0c4caed2018fca93aabc8db /ui/app/reducers/app.js | |
parent | 1d4ee6bf765f0b7fc80fa7f95618e8de3844488d (diff) | |
download | tangerine-wallet-browser-e98c3b4c01b990678ac58f45448d0e2548396a2b.tar tangerine-wallet-browser-e98c3b4c01b990678ac58f45448d0e2548396a2b.tar.gz tangerine-wallet-browser-e98c3b4c01b990678ac58f45448d0e2548396a2b.tar.bz2 tangerine-wallet-browser-e98c3b4c01b990678ac58f45448d0e2548396a2b.tar.lz tangerine-wallet-browser-e98c3b4c01b990678ac58f45448d0e2548396a2b.tar.xz tangerine-wallet-browser-e98c3b4c01b990678ac58f45448d0e2548396a2b.tar.zst tangerine-wallet-browser-e98c3b4c01b990678ac58f45448d0e2548396a2b.zip |
Get nonce for showing retry button using ethQuery transaction count.
Diffstat (limited to 'ui/app/reducers/app.js')
-rw-r--r-- | ui/app/reducers/app.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js index 50d8bcba7..e4e4c8581 100644 --- a/ui/app/reducers/app.js +++ b/ui/app/reducers/app.js @@ -65,6 +65,7 @@ function reduceApp (state, action) { buyView: {}, isMouseUser: false, gasIsLoading: false, + networkNonce: null, }, state.appState) switch (action.type) { @@ -701,6 +702,11 @@ function reduceApp (state, action) { gasIsLoading: false, }) + case actions.SET_NETWORK_NONCE: + return extend(appState, { + networkNonce: action.value, + }) + default: return appState } |