From 68c26ab66c957e8208f2b179a29f7c5b2ae40110 Mon Sep 17 00:00:00 2001 From: Fabian Date: Wed, 3 Jun 2020 16:22:45 -0500 Subject: [PATCH] Fabo/fix double balances (#4198) * lint * fix release script * refactors * remove weird network id overwrite * changelog * Revert "refactors" This reverts commit b64524a388e9ab4466d8123ed6205ecf2d7705fe. Co-authored-by: show Co-authored-by: MergeBack Lunie Bot --- changes/fabo_fix-double-balances | 1 + src/vuex/modules/session.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 changes/fabo_fix-double-balances diff --git a/changes/fabo_fix-double-balances b/changes/fabo_fix-double-balances new file mode 100644 index 0000000000..9110a61be5 --- /dev/null +++ b/changes/fabo_fix-double-balances @@ -0,0 +1 @@ +[Fixed] Fix balances showing in other denom (network id would change internally) @faboweb \ No newline at end of file diff --git a/src/vuex/modules/session.js b/src/vuex/modules/session.js index 57115474bf..917999c2a2 100644 --- a/src/vuex/modules/session.js +++ b/src/vuex/modules/session.js @@ -136,7 +136,6 @@ export default ({ apollo }) => { if (networkId && currentNetwork.id !== networkId) { await commit(`setNetworkId`, networkId) await dispatch(`persistNetwork`, { id: networkId }) - currentNetwork.id = networkId } commit(`setSignIn`, true) commit(`setSessionType`, sessionType)