Skip to content

Committee query error #69

@grctest

Description

@grctest
Traceback (most recent call last):
  File "a.py", line 36, in <module>
    test = Committee("1.5.10", False)
  File "/home/user/python-bitshares/bitshares/blockchainobject.py", line 101, in __init__
    self.refresh()
  File "/home/user/python-bitshares/bitshares/committee.py", line 40, in refresh
    self.account_id = account["id"]
UnboundLocalError: local variable 'account' referenced before assignment

Am I using the committee function incorrectly?

I was just testing it out:

test = Committee("1.5.10", False)

print(test)

for a in test:
  print(a)

Referenced section of python-bitshares code: https://github.com/bitshares/python-bitshares/blob/master/bitshares/committee.py#L40

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions