elucidsoft / dotnet-stellar-sdk

Stellar API SDK for .NET 6.x
Apache License 2.0
116 stars 55 forks source link

AssetResponse does not include liquidity_pools_amount #347

Closed GuyWhoKnowsTheGuy closed 9 months ago

GuyWhoKnowsTheGuy commented 2 years ago

Describe the bug AssetResponsedoes not include liquidity_pools_amount

To Reproduce Steps to reproduce the behavior:

  1. var assetInfo = await Server.Assets.AssetIssuer( [ any existing account ID ] ).Execute();
  2. assetInfo.LiquidityPoolsAmount does not exist. LiquidityPoolsAmountwould map to _embedded.records.liquidity_pools_amount.

Expected behavior AssetResponse.LiquidityPoolsAmount would exist and map to _embedded.records.liquidity_pools_amount.

Kirbyrawr commented 2 years ago

Check this to have a reference, it seems i missed adding it https://github.com/stellar/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/responses/AssetResponse.java

GuyWhoKnowsTheGuy commented 9 months ago

Fixed in #348.