Skip to content

Commit

Permalink
add NWC to xlm trust line
Browse files Browse the repository at this point in the history
  • Loading branch information
pengpengliu committed Apr 23, 2021
1 parent bd90250 commit 66f8b27
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ public String signRawTransaction(String rawTx, List<String> keys) {
asset = new AssetTypeCreditAlphaNum4("LFEC", org.stellar.sdk.KeyPair.fromAccountId("GAG6FS3CR64QJHLHJU7HNXUB4KBLXVDFQBDXM5LG22WOM7CA2ITJAVD2"));
} else if (jsonObject.getString("asset").equals("MBX")) {
asset = new AssetTypeCreditAlphaNum4("MBX", org.stellar.sdk.KeyPair.fromAccountId("GD5ASA7ODHQ2PNI7EXJF2XPEWQDLYNJ4KGIVPE4E5CSQZJ4O7EMJNPPL"));
} else if (jsonObject.getString("asset").equals("NWC")) {
asset = new AssetTypeCreditAlphaNum4("NWC", org.stellar.sdk.KeyPair.fromAccountId("GAAPUOQWOZAG3PENRN7FEPYWXVGJBJVBL6EUE2ZHN5TSY7WBXQDO7AY2"));
} else {
throw new RuntimeException("no sup asset:" + jsonObject.getString("asset"));
}
Expand Down

0 comments on commit 66f8b27

Please sign in to comment.