Merge branch 'develop' of github.com:Agorise/graphenej into develop
This commit is contained in:
commit
13faf6c253
2 changed files with 4 additions and 0 deletions
|
@ -207,6 +207,7 @@ public class DeserializationMap {
|
||||||
mClassMap.put(GetTransaction.class, Transaction.class);
|
mClassMap.put(GetTransaction.class, Transaction.class);
|
||||||
Gson getTransactionGson = new GsonBuilder()
|
Gson getTransactionGson = new GsonBuilder()
|
||||||
.registerTypeAdapter(Transaction.class, new Transaction.TransactionDeserializer())
|
.registerTypeAdapter(Transaction.class, new Transaction.TransactionDeserializer())
|
||||||
|
.registerTypeAdapter(Memo.class, new Memo.MemoDeserializer())
|
||||||
.registerTypeAdapter(AssetAmount.class, new AssetAmount.AssetAmountDeserializer())
|
.registerTypeAdapter(AssetAmount.class, new AssetAmount.AssetAmountDeserializer())
|
||||||
.registerTypeAdapter(TransferOperation.class, new TransferOperation.TransferDeserializer())
|
.registerTypeAdapter(TransferOperation.class, new TransferOperation.TransferDeserializer())
|
||||||
.create();
|
.create();
|
||||||
|
|
|
@ -699,6 +699,9 @@ public class NetworkService extends Service {
|
||||||
|
|
||||||
isLoggedIn = false;
|
isLoggedIn = false;
|
||||||
|
|
||||||
|
// Clearing previous request id to class mappings
|
||||||
|
mRequestClassMap.clear();
|
||||||
|
|
||||||
if(mSelectedNode != null){
|
if(mSelectedNode != null){
|
||||||
// Marking the selected node as not connected
|
// Marking the selected node as not connected
|
||||||
mSelectedNode.setConnected(false);
|
mSelectedNode.setConnected(false);
|
||||||
|
|
Loading…
Reference in a new issue