Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on account switches with newly created subaccount #1386

Open
kenodressel opened this issue Jun 4, 2020 · 0 comments
Open

Error on account switches with newly created subaccount #1386

kenodressel opened this issue Jun 4, 2020 · 0 comments

Comments

@kenodressel
Copy link
Member

Version: a1f1a63

Steps to reproduce:

  • Open base-aepp
  • Create new subaccount
  • Switch to an existing account
  • Switch back to the newly created account
  • Works visually but for example changeAccount event is not send

Error:

VM62769:1 [Vue warn]: Error in callback for watcher "function () { return getter(this$1.state, this$1.getters); }": "Error: Account for ak_4rQAFfTf82oVcrPXv4u1oVGfH8CBzw6yRLSAkE2FMBTSt7MUf not available"

(found in <Root>)
a.<computed> @ VM62769:1
warn @ vue.runtime.esm.js?2b0e:619
logError @ vue.runtime.esm.js?2b0e:1884
globalHandleError @ vue.runtime.esm.js?2b0e:1879
handleError @ vue.runtime.esm.js?2b0e:1839
run @ vue.runtime.esm.js?2b0e:4564
flushSchedulerQueue @ vue.runtime.esm.js?2b0e:4304
eval @ vue.runtime.esm.js?2b0e:1980
flushCallbacks @ vue.runtime.esm.js?2b0e:1906
Promise.then (async)
timerFunc @ vue.runtime.esm.js?2b0e:1933
nextTick @ vue.runtime.esm.js?2b0e:1990
queueWatcher @ vue.runtime.esm.js?2b0e:4396
update @ vue.runtime.esm.js?2b0e:4538
notify @ vue.runtime.esm.js?2b0e:730
mutator @ vue.runtime.esm.js?2b0e:882
closeByKey @ modals.js?5b8e:26
wrappedMutationHandler @ vuex.esm.js?2f62:740
commitIterator @ vuex.esm.js?2f62:392
eval @ vuex.esm.js?2f62:391
_withCommit @ vuex.esm.js?2f62:522
commit @ vuex.esm.js?2f62:390
boundCommit @ vuex.esm.js?2f62:335
local.commit @ vuex.esm.js?2f62:692
eval @ modals.js?5b8e:46
finallyHandler @ bluebird.js?f684:1988
tryCatcher @ bluebird.js?f684:5370
Promise._settlePromiseFromHandler @ bluebird.js?f684:3366
Promise._settlePromise @ bluebird.js?f684:3423
Promise._settlePromise0 @ bluebird.js?f684:3468
Promise._settlePromises @ bluebird.js?f684:3548
_drainQueueStep @ bluebird.js?f684:145
_drainQueue @ bluebird.js?f684:138
Async._drainQueues @ bluebird.js?f684:154
Async.drainQueues @ bluebird.js?f684:67
Promise.then (async)
schedule @ bluebird.js?f684:4593
Async._queueTick @ bluebird.js?f684:163
AsyncSettlePromises @ bluebird.js?f684:128
Promise._fulfill @ bluebird.js?f684:3494
Promise._resolveCallback @ bluebird.js?f684:3285
eval @ bluebird.js?f684:3338
invokeWithErrorHandling @ vue.runtime.esm.js?2b0e:1854
invoker @ vue.runtime.esm.js?2b0e:2179
invokeWithErrorHandling @ vue.runtime.esm.js?2b0e:1854
Vue.$emit @ vue.runtime.esm.js?2b0e:3882
click @ ButtonPlain.vue?fd76:13
invokeWithErrorHandling @ vue.runtime.esm.js?2b0e:1854
invoker @ vue.runtime.esm.js?2b0e:2179
original._wrapper @ vue.runtime.esm.js?2b0e:6911
VM62769:1 Error: Account for ak_4rQAFfTf82oVcrPXv4u1oVGfH8CBzw6yRLSAkE2FMBTSt7MUf not available
    at Object.selectAccount (selector.js?3573:82)
    at Object.selectAccount (wallet-rpc.js?2b43:235)
    at Store.selectSdkAccount (root.js?3a9d:92)
    at wrappedMutationHandler (vuex.esm.js?2f62:740)
    at commitIterator (vuex.esm.js?2f62:392)
    at Array.forEach (<anonymous>)
    at eval (vuex.esm.js?2f62:391)
    at Store._withCommit (vuex.esm.js?2f62:522)
    at Store.commit (vuex.esm.js?2f62:390)
    at Store.boundCommit [as commit] (vuex.esm.js?2f62:335)
    at Vue.eval (index.js?e2dc:245)
    at Watcher.run (vue.runtime.esm.js?2b0e:4562)
    at flushSchedulerQueue (vue.runtime.esm.js?2b0e:4304)
    at Array.eval (vue.runtime.esm.js?2b0e:1980)
    at flushCallbacks (vue.runtime.esm.js?2b0e:1906)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant