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

get_bundles returns bundle object when no bundle was found #291

Closed
lzpap opened this issue Jan 21, 2020 · 0 comments
Closed

get_bundles returns bundle object when no bundle was found #291

lzpap opened this issue Jan 21, 2020 · 0 comments
Labels

Comments

@lzpap
Copy link
Member

lzpap commented Jan 21, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant