FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Committee query error · Issue #69 · bitshares/python-bitshares · GitHub

Committee query error #69

Description

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


    Back | FazBrowse Home | New Git URL