diff --git a/GUI/App/account.go b/GUI/App/account.go index d9c04f0..d5b12d0 100644 --- a/GUI/App/account.go +++ b/GUI/App/account.go @@ -209,18 +209,18 @@ func (c *PageAddress) OnContinue(w *window.Window) { return } - page.ApplyForIt(w, ".address", DOM.ClearHTML) - - Storage.SK = sk - Storage.PK = pk - Storage.SEED = nil - err = Background.StartAddress(w) if err != nil { DOM.UpdateNotification(w, "There was a critical problem connecting to our servers, please try again") return } + page.ApplyForIt(w, ".address", DOM.ClearHTML) + + Storage.SK = sk + Storage.PK = pk + Storage.SEED = nil + Background.StartTransaction() ViewApplication(w, &NanolletApp{}) }