From 3b66b91807058eba73cd8b76486eb4d61dd3d9d3 Mon Sep 17 00:00:00 2001 From: hvarona Date: Wed, 27 Jun 2018 20:45:25 -0400 Subject: [PATCH] Make the grapheneapi multi account compatible --- .../crystalwallet/apigenerator/GrapheneApiGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/cy/agorise/crystalwallet/apigenerator/GrapheneApiGenerator.java b/app/src/main/java/cy/agorise/crystalwallet/apigenerator/GrapheneApiGenerator.java index d314b4c..fc126e2 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/apigenerator/GrapheneApiGenerator.java +++ b/app/src/main/java/cy/agorise/crystalwallet/apigenerator/GrapheneApiGenerator.java @@ -419,7 +419,7 @@ public abstract class GrapheneApiGenerator { }catch(Exception e){ e.printStackTrace(); } - }else if(!bitsharesSubscriptionHub.isSubscribed()){ + }else if(bitsharesSubscriptionHub!= null && !bitsharesSubscriptionHub.isSubscribed()){ try { bitsharesSubscriptionHub.resubscribe(); }catch(Exception e){