Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

fixes issue where onboarding screen would not appear #822

Merged
merged 1 commit into from
Jun 15, 2016

Conversation

alexvandesande
Copy link
Collaborator

No description provided.

@@ -309,8 +309,8 @@ app.on('ready', function() {
.then(function getAccounts() {
return ethereumNode.send('eth_accounts', []);
})
.then(function onboarding(result) {
if (ethereumNode.isGeth && result && result.length === 0) {
.then(function onboarding(resultData) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hiddentao why you named that function?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it throws an error then in the stack trace it will show up, rather than "anonymous function", etc. Plus it makes the code easer to read.

@frozeman
Copy link
Contributor

Looks good! Thanks alex

@hiddentao
Copy link
Contributor

Thnx Alex.

@frozeman frozeman merged commit 8ae893e into develop Jun 15, 2016
@luclu luclu deleted the onboarding-fix branch July 18, 2016 21:15
@lock
Copy link

lock bot commented Apr 1, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked and limited conversation to collaborators Apr 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants