From 049f46286c66fd0f7ca7ee814081e6ba52faa71b Mon Sep 17 00:00:00 2001 From: lifenxiang Date: Mon, 9 Mar 2020 09:49:28 +0800 Subject: [PATCH] allow ela_get_groups() to be called in the whole lifecycle of carrier due to introduction of persistent group (#325) (#326) --- src/carrier/ela_carrier.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/carrier/ela_carrier.c b/src/carrier/ela_carrier.c index 91fcbfcd..63b9fcf1 100644 --- a/src/carrier/ela_carrier.c +++ b/src/carrier/ela_carrier.c @@ -3929,11 +3929,6 @@ int ela_get_groups(ElaCarrier *w, ElaIterateGroupCallback *callback, return -1; } - if (!w->is_ready) { - ela_set_error(ELA_GENERAL_ERROR(ELAERR_NOT_READY)); - return -1; - } - group_count = dht_get_group_count(&w->dht); if (!group_count) { callback(NULL, context);