Skip to content
Snippets Groups Projects
Commit ff2a6c82 authored by Holger Nahrstaedt's avatar Holger Nahrstaedt
Browse files

fix again

parent 1d0f4d44
No related branches found
No related tags found
No related merge requests found
......@@ -100,6 +100,8 @@ class TransactionBuilder(dict):
"""
assert permission in ["active", "owner", "posting"], "Invalid permission"
account = Account(account, steem_instance=self.steem)
if permission not in account:
account = Account(account, steem_instance=self.steem)
assert permission in account, "Could not access permission"
required_treshold = account[permission]["weight_threshold"]
......
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