Skip to content

Commit

Permalink
ANCHOR-227: Fix incorrect asset (#805) (#807)
Browse files Browse the repository at this point in the history
* ANCHOR-227: Fix incorrect asset

* Update version and changelog
  • Loading branch information
Ifropc authored Mar 31, 2023
1 parent d288fc0 commit a4aa419
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Changelog
## 1.2.10
* Fix asset being set incorrectly when quote is null. [#805](https://github.com/stellar/java-stellar-anchor-sdk/pull/805)

## 1.2.9
* Commit the dirty SEP-31 transaction before calling the `/unique_address` endpoint. [#797](https://github.com/stellar/java-stellar-anchor-sdk/pull/797)

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ subprojects {

allprojects {
group = "org.stellar.anchor-sdk"
version = "1.2.9"
version = "1.2.10"

tasks.jar {
manifest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ void updateTxAmountsWhenNoQuoteWasUsed() {
txn.setAmountExpected(formatAmount(amountIn, scale));
txn.setAmountInAsset(reqAsset.getAssetName());
txn.setAmountOut(formatAmount(amountOut, scale));
txn.setAmountOutAsset(reqAsset.getAssetName());
txn.setAmountOutAsset(request.getDestinationAsset());

// Update fee
String feeStr = formatAmount(fee, scale);
Expand Down

0 comments on commit a4aa419

Please sign in to comment.