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

#374: fix npe on liquidity pool trustline in changetrustresponse #378

Merged
merged 1 commit into from
Nov 10, 2021

Conversation

sreuland
Copy link
Contributor

Hello, here is draft of changes I think can resolve the npe issue when deser of changetrustresponse, I got hung up on seeing how liquidity pool shares were not defined in XDR Asset, api intentionally throws in XDR Asset ser/deser routines, so I followed that pattern and just addressed enabling the Json deser path in operationresponse for pool share type asset.

@sreuland sreuland marked this pull request as ready for review November 10, 2021 16:26
@sreuland sreuland linked an issue Nov 10, 2021 that may be closed by this pull request
@sreuland sreuland closed this Nov 10, 2021
@sreuland sreuland force-pushed the 374_change_trust_reponse_liquidity_asset branch from b5b1d77 to f0ccceb Compare November 10, 2021 18:14
@sreuland sreuland reopened this Nov 10, 2021
@sreuland sreuland merged commit 80fc0e6 into master Nov 10, 2021
@sreuland sreuland self-assigned this Nov 11, 2021
@sreuland sreuland deleted the 374_change_trust_reponse_liquidity_asset branch November 19, 2021 17:39
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.

Call getAsset from ChangeTrustOperationResponse class
2 participants