Clearing API permissions before connecting

This commit is contained in:
Nelson R. Perez 2019-11-14 13:14:02 -05:00
parent 3d5a57f896
commit 4ba6f1d25c

View file

@ -303,6 +303,7 @@ public class NetworkService {
FullNode fullNode = nodeProvider.getBestNode();
if(fullNode != null){
System.out.println(String.format(Locale.ROOT, "Connected with %d latency results", latencyUpdateCounter));
mApiIds.clear();
connect();
}else{
Disposable d = Observable.timer(DEFAULT_INITIAL_DELAY, TimeUnit.MILLISECONDS).subscribe(this);