Commit 3597586
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 fb06d5d commit 3597586
1 file changed
+6
-5
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 | | - | |
558 | 553 | | |
559 | 554 | | |
560 | 555 | | |
561 | 556 | | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
562 | 563 | | |
563 | 564 | | |
564 | 565 | | |
| |||
0 commit comments