-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fix #1775 Digital Cash Warning: RollCallId not defined #1856
Conversation
Pull reviewers statsStats of the last 30 days for popstellar:
|
Quality Gate passed for 'PoP - PoPCHA-Web-Client'Issues Measures |
Quality Gate passed for 'PoP - Be1-Go'Issues Measures |
Quality Gate passed for 'PoP - Be2-Scala'Issues Measures |
Quality Gate passed for 'PoP - Fe1-Web'Issues Measures |
Quality Gate passed for 'PoP - Fe2-Android'Issues Measures |
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.
Looks good to me
The warning toast 'RollcallId not defined, cannot generate PoP token' was showing up at unecesserary times.
Explanation of the bug:
isCoinbase
istrue
) the parameterrollCallId
is undefined which is expected.useRollCallTokenByRollCallId
is not synchronous and returnsundefined
for a few cycles causingencodePopToken
to throw an error andserializedPopToken
to be null even thoughrollCallId
is well defined.