From 639bd65e7820c640012a109ee6176cd7c6997c48 Mon Sep 17 00:00:00 2001 From: "Nelson R. Perez" Date: Fri, 17 Feb 2017 19:17:49 -0500 Subject: [PATCH] Fixing lack of description issue --- graphenej/src/main/java/de/bitsharesmunich/graphenej/Asset.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/graphenej/src/main/java/de/bitsharesmunich/graphenej/Asset.java b/graphenej/src/main/java/de/bitsharesmunich/graphenej/Asset.java index 15519a8..8ea2b77 100644 --- a/graphenej/src/main/java/de/bitsharesmunich/graphenej/Asset.java +++ b/graphenej/src/main/java/de/bitsharesmunich/graphenej/Asset.java @@ -172,6 +172,8 @@ public class Asset extends GrapheneObject { options.setMaxMarketFee(UnsignedLong.valueOf(optionsJson.get(KEY_MARKET_FEE).getAsString())); options.setIssuerPermissions(optionsJson.get(KEY_ISSUER_PERMISSIONS).getAsLong()); options.setFlags(optionsJson.get(KEY_FLAGS).getAsInt()); + if(optionsJson.has(KEY_DESCRIPTION)) + options.setDescription(optionsJson.get(KEY_DESCRIPTION).getAsString()); //TODO: Deserialize core_exchange_rate field Asset asset = new Asset(id, symbol, precision, issuer);