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){