Skip to content
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

return acc and pk info in signin and new acc flows #109

Merged
merged 2 commits into from
Apr 24, 2023

Conversation

volovyks
Copy link
Collaborator

No description provided.

@volovyks volovyks requested review from itegulov and DavidM-D April 24, 2023 07:47
@volovyks volovyks linked an issue Apr 24, 2023 that may be closed by this pull request
user_recovery_public_key: _,
near_account_id: acc_id,
} if user_pk == user_public_key && acc_id == account_id.to_string()
));
Copy link
Contributor

Choose a reason for hiding this comment

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

No need to use matches! anymore, just compare the fields directly

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I had an issues with that. I can not add pub to struct fields. I can not access field values without it. Not sure what is the reason.
I will merge this version for now.

@volovyks volovyks merged commit 21839cd into develop Apr 24, 2023
@volovyks volovyks deleted the serhii/retur-pk-info branch December 13, 2023 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return Account Id and PK in Create Acc and Sign in flows
2 participants