xeroc / piston-lib

Python Library for Steem
MIT License
40 stars 33 forks source link

No module named get_block_from_time #52

Open lunaluxie opened 7 years ago

lunaluxie commented 7 years ago

I'm running the code from the example here

from steem.blockchain import Blockchain
    # parse only payments from specific datetime until now
    b = Blockchain()
    history = b.replay(
        start_block=b.get_block_from_time("2017-03-01T00:00:00"),
        end_block=b.get_current_block(),
        filter_by=['transfer']
    )

However, it says: 'Blockchain' object has no attribute 'get_block_from_time'.

I'm using Python 3.6