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

get_account_data() always returns empty result if there are no transactions #217

@todofixthis

Description

@todofixthis

Important: Co-ordinate this change with the other IOTA API libraries, to ensure behaviour remains consistent.

If there are no transactions for the generated addresses (e.g., after a snapshot), get_account_data() always returns an empty result, even if one or more of the generated addresses have a balance.

This behaviour makes sense when specifying get_account_data(stop=None, ...) (the address generator would stop at the 0th address because there are no transactions), but it is not intuitive when specifying a value for stop (see #212 for an example).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions