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

Cannot pass undefined to makeKeyRegistrationTxn function for typescript #568

Open
thdung3 opened this issue May 20, 2022 · 0 comments
Open
Labels
new-bug Bug report that needs triage Team Lamprey

Comments

@thdung3
Copy link

thdung3 commented May 20, 2022

Cannot pass undefined to makeKeyRegistrationTxn function for typescript

I use makeKeyRegistrationTxn to register offline. As documents, i set undefined for voteKey, selectionKey, stateProofKey but voteKey, selectionKey, stateProofKey define as string.

Could you update type of voteKey, selectionKey, stateProofKey like string | undefined or give me exactly params i should put into makeKeyRegistrationTxn to register offline

Thanks

@thdung3 thdung3 added the new-bug Bug report that needs triage label May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-bug Bug report that needs triage Team Lamprey
Projects
None yet
Development

No branches or pull requests

3 participants
@winder @thdung3 and others