From 0b8ad1633972aa14184141cf5e8a2f28323c8d64 Mon Sep 17 00:00:00 2001
From: Bartek Wrona <wrona@syncad.com>
Date: Tue, 4 Oct 2022 16:11:42 +0200
Subject: [PATCH] get_blog_authors switched into condenser API

---
 beem/account.py | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/beem/account.py b/beem/account.py
index 80d7d7d..fe30b5d 100644
--- a/beem/account.py
+++ b/beem/account.py
@@ -991,13 +991,7 @@ class Account(BlockchainObject):
         if not self.blockchain.is_connected():
             raise OfflineHasNoRPCException("No RPC available in offline mode!")
         self.blockchain.rpc.set_next_node_on_empty_reply(False)
-        if self.blockchain.rpc.get_use_appbase():
-            try:
-                return self.blockchain.rpc.get_blog_authors({'blog_account': account}, api='follow')['blog_authors']
-            except:
-                return self.blockchain.rpc.get_blog_authors(account, api='follow')
-        else:
-            return self.blockchain.rpc.get_blog_authors(account, api='follow')
+        return self.blockchain.rpc.get_blog_authors(account, api='condenser')
 
     def get_follow_count(self, account=None):
         """ get_follow_count """
-- 
GitLab