Skip to content
Snippets Groups Projects
Commit 28585a01 authored by Tino Waldner's avatar Tino Waldner
Browse files

fix account_name assignment from dict in get_account_reputations()

parent 3b36f692
No related branches found
No related tags found
2 merge requests!5Taken current version of master branch in the https://github.com/holgern/beem,!4Original changes pushed to master at https://github.com/holgern/beem
......@@ -910,7 +910,7 @@ class Blockchain(object):
ret = self.blockchain.rpc.get_account_reputations(lastname, steps, api="follow")
for account in ret:
if isinstance(account, dict):
account_name = account["account"]
account_name = account["name"]
else:
account_name = account
if account_name != lastname:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment