Skip to content

Commit

Permalink
fix: address list disappears in case of connection error
Browse files Browse the repository at this point in the history
  • Loading branch information
inkeliz committed Mar 22, 2018
1 parent 9e2847f commit 1877376
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions GUI/App/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{})
}

0 comments on commit 1877376

Please sign in to comment.