Merge branch 'develop' of github.com:Agorise/graphenej into develop

This commit is contained in:
Severiano Jaramillo 2019-01-12 17:37:08 -06:00
commit 13faf6c253
2 changed files with 4 additions and 0 deletions

View file

@ -207,6 +207,7 @@ public class DeserializationMap {
mClassMap.put(GetTransaction.class, Transaction.class);
Gson getTransactionGson = new GsonBuilder()
.registerTypeAdapter(Transaction.class, new Transaction.TransactionDeserializer())
.registerTypeAdapter(Memo.class, new Memo.MemoDeserializer())
.registerTypeAdapter(AssetAmount.class, new AssetAmount.AssetAmountDeserializer())
.registerTypeAdapter(TransferOperation.class, new TransferOperation.TransferDeserializer())
.create();

View file

@ -699,6 +699,9 @@ public class NetworkService extends Service {
isLoggedIn = false;
// Clearing previous request id to class mappings
mRequestClassMap.clear();
if(mSelectedNode != null){
// Marking the selected node as not connected
mSelectedNode.setConnected(false);