diff --git a/VERSION b/VERSION index 4648b7266..159b9c9da 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.63.8 +0.63.8+hotfix.1 diff --git a/api/geth_backend.go b/api/geth_backend.go index 61c49a542..92cf04db4 100644 --- a/api/geth_backend.go +++ b/api/geth_backend.go @@ -553,7 +553,8 @@ func (b *GethStatusBackend) startNode(config *params.NodeConfig) (err error) { services = appendIf(config.PermissionsConfig.Enabled, services, b.permissionsService()) services = appendIf(config.MailserversConfig.Enabled, services, b.mailserversService()) services = appendIf(config.WalletConfig.Enabled, services, b.walletService(config.NetworkID, accountsFeed)) - services = appendIf(config.LocalNotificationsConfig.Enabled, services, b.localNotificationsService(config.NetworkID)) + // We ignore for now local notifications flag as users who are upgrading have no mean to enable it + services = append(services, b.localNotificationsService(config.NetworkID)) manager := b.accountManager.GetManager() if manager == nil { @@ -912,7 +913,8 @@ func (b *GethStatusBackend) AppStateChange(state string) { return } - if !localNotifications.IsWatchingWallet() { + // If we have no local notifications, force wallet stop, otherwise check if it's watching the wallet + if localNotifications == nil || (localNotifications != nil && !localNotifications.IsWatchingWallet()) { err = wallet.Stop() if err != nil {