-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Register all owned wallets on initialize #631
base: main
Are you sure you want to change the base?
Register all owned wallets on initialize #631
Conversation
📦 build.zip [updated at Oct 18, 1:34:43 AM UTC] |
params: { address, origin }, | ||
}); | ||
} catch (error) { | ||
console.log('registerWallet error', error); // eslint-disable-line no-console |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I see, we will try register each wallet only once. So if something goes wrong, we will not try again.
May be we should not mark register process as complete in this case and try again next time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll update it to not set the flag if at least one wallet fails to register
edit: updated ✅
}); | ||
} catch (error) { | ||
didFail = true; | ||
console.log('registerWallet error', error); // eslint-disable-line no-console |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do console.warn
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated to console.warn
✅
No description provided.