steem = Steem(nodes=conf['nodes_new'], keys=conf['keys'])
base_name = 'foo'
passwd = 'pass'
creator = 'cyberfounder'
for i in range(1, 10):
steem.commit.create_account(base_name + str(i), password=passwd, creator=creator)
b'{"jsonrpc": "2.0", "id": 0, "method": "get_accounts", "params": [["cyberfounder"]]}'
Traceback (most recent call last):
File "./create_accounts.py", line 53, in <module>
main()
File "./create_accounts.py", line 50, in main
steem.commit.create_account(base_name + str(i), password=passwd, creator=creator)
File "/home/vvk/devel/golos/golos-python/steem/commit.py", line 567, in create_account
return self.finalizeOp(op, creator, "active")
File "/home/vvk/devel/golos/golos-python/steem/commit.py", line 125, in finalizeOp
tx.appendSigner(account, permission)
File "/home/vvk/devel/golos/golos-python/steem/transactionbuilder.py", line 46, in appendSigner
account = Account(account, steemd_instance=self.steemd)
File "/home/vvk/devel/golos/golos-python/steem/account.py", line 34, in __init__
self.refresh()
File "/home/vvk/devel/golos/golos-python/steem/account.py", line 37, in refresh
account = self.steemd.get_account(self.name)
File "/home/vvk/devel/golos/golos-python/steem/steemd.py", line 157, in get_account
return first(self.exec('get_accounts', [account]))
File "/home/vvk/devel/golos/golos-python/steembase/http_client.py", line 187, in exec
return_with_args=return_with_args)
File "/home/vvk/devel/golos/golos-python/steembase/http_client.py", line 207, in _return
raise RPCError(error_message)
steembase.exceptions.RPCError: Assert Exception (10)
v.size() == 2: method specification invalid. Should be api.method