Call updateDeviceBlockHeight from router
This commit is contained in:
parent
77d9c1ad43
commit
2ba7be8dbb
@ -156,13 +156,15 @@ export async function init(): Promise<void> {
|
||||
// We connect to all relays now
|
||||
await services.connectAllRelays();
|
||||
|
||||
await services.updateDeviceBlockHeight();
|
||||
|
||||
// We register all the event listeners if we run in an iframe
|
||||
if (window.self !== window.top) {
|
||||
await registerAllListeners();
|
||||
}
|
||||
|
||||
if (services.isPaired()) {
|
||||
await navigate('account');
|
||||
await navigate('process');
|
||||
} else {
|
||||
await navigate('home');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user