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

Rollback SEP23 (Muxed Account strkeys) support #282

Merged
merged 3 commits into from
May 27, 2020
Merged

Conversation

tamirms
Copy link
Contributor

@tamirms tamirms commented May 26, 2020

@tamirms tamirms changed the base branch from master to release-0.17.0 May 26, 2020 19:51

char[] encoded = encodeCheck(VersionByte.MUXED_ACCOUNT, byteStream.toByteArray());
return String.valueOf(encoded);
return encodeStellarAccountId(account.getMed25519().getEd25519().getUint256());

Choose a reason for hiding this comment

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

Instead of modifying encodeStellarMuxedAccount to internally transform to an AccountId I would add a method to explicitly transform Muxed Accounts into account IDs. This is more explicit and there is no magic involved.

@tamirms tamirms merged commit 348f76b into release-0.17.0 May 27, 2020
@tamirms tamirms deleted the remove-muxed branch May 27, 2020 19:07
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.

Protocol 13 support
3 participants