Commit 56ddd9f
committed
backend: fix unknown account code error after removing device
This fixed unknown account code error described in last commit.
The frontend got notified in wrong order when a device is removed.
The keystore event was pushed before accounts have been removed,
leading to a short moment when the frontend thinks it has accounts
but no more keystore.
Changed order so that the backend sends the keystore event after
accounts are uninitialized.1 parent 91ddb21 commit 56ddd9f
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | 552 | | |
557 | 553 | | |
558 | 554 | | |
559 | 555 | | |
560 | 556 | | |
561 | 557 | | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
562 | 563 | | |
563 | 564 | | |
564 | 565 | | |
| |||
0 commit comments