Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #221 from ttw225/patch-1
Browse files Browse the repository at this point in the history
Update addresses.rst
  • Loading branch information
lzpap committed Sep 16, 2019
2 parents cc22622 + f09db7d commit ab9a25b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/addresses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ Using AddressGenerator
generator = AddressGenerator(b'SEED9GOES9HERE')
# Generate a list of addresses:
addresses = generator.get_addresses(index=0, count=5)
addresses = generator.get_addresses(start=0, count=5)
# Generate a list of addresses in reverse order:
addresses = generator.get_addresses(index=42, count=10, step=-1)
addresses = generator.get_addresses(start=42, count=10, step=-1)
# Create an iterator, advancing 5 indices each iteration.
iterator = generator.create_iterator(index=86, step=5)
iterator = generator.create_iterator(start=86, step=5)
for address in iterator:
...
Expand Down

0 comments on commit ab9a25b

Please sign in to comment.