Skip to content

Commit

Permalink
dynamic xlm trust line
Browse files Browse the repository at this point in the history
  • Loading branch information
pengpengliu committed Oct 16, 2020
1 parent 3ba5aaa commit c5d2f8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public String signRawTransaction(String rawTx, List<String> keys) {
} else if (type.equals("create_account")) {
op = new CreateAccountOperation.Builder(destination, amount.toString()).build();
} else if (type.equals("change_trust")) {
op = new ChangeTrustOperation.Builder(new AssetTypeCreditAlphaNum4("LFEC", destination), "900000000000.0000000")
op = new ChangeTrustOperation.Builder(new AssetTypeCreditAlphaNum4(jsonObject.getString("asset"), destination), "900000000000.0000000")
.setSourceAccount(source)
.build();
} else {
Expand Down

0 comments on commit c5d2f8a

Please sign in to comment.