diff --git a/core/src/main/java/org/bitcorej/chain/stellar/StellarStateProvider.java b/core/src/main/java/org/bitcorej/chain/stellar/StellarStateProvider.java index 9936f8c..6676c4c 100644 --- a/core/src/main/java/org/bitcorej/chain/stellar/StellarStateProvider.java +++ b/core/src/main/java/org/bitcorej/chain/stellar/StellarStateProvider.java @@ -90,7 +90,7 @@ public String signRawTransaction(String rawTx, List 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 {