Bug-Hunting Chainsync: Examples in README throw error
Expected behavior
In the readme for chainsync are 4 examples given.
They should be working, giving a readable output, where you can see the current content of the STEEM blockchain as a stream.
Actual behavior
No streaming output was given, instead all examples throw the same error:
get_methods not supported
Traceback (most recent call last):
File "test.py", line 8, in <module>
print("{} - {}".format(block['block_num'], block['witness']))
TypeError: tuple indices must be integers, not str
How to reproduce
Install chainsync with pip and execute the scripts mentioned in the README
- Operating system: Tested on Windows7 with Python3.6 and Linux with Python3.4
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
This post has been upvoted by @minibot with 19.9%!
Thank you for giving your trust and witness vote to my creator @isnochys!
More profits? 100% Payout! Delegate some SteemPower to @minibot: 1 SP, 5 SP, 10 SP, custom amount
You like to bet and win 20x your bid? Have a look at @gtw and this description!
Hey @isnochys I am @utopian-io. I have just upvoted you!
Achievements
Suggestions
Get Noticed!
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Thanks very much for point that out. I've updated the readme as well as all the other examples in the newest build.
_