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_bundles returns bundle object when no bundle was found #291

@lzpap

Description

@lzpap

Description:

If get_bundles extended API doesn't find a valid bundle for a tail transaction hash, it still returns a list with one bundle object, but containing only one transaction, that has all fields set to zero ('9s').

This might be unexpected behavior.

Recommendation:

Throw error when can't find trytes for a transaction.

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