Skip to content

Using /tweaks with a dust limit returns null instead of empty array #21

@cygnet3

Description

@cygnet3

Requesting tweaks for block214953 on Signet, when the block has no tweaks, gives me an empty array:

curl  'http://localhost:8000/tweaks/214953'

[]

However, when adding a dust limit (even just 1 sat), I get 'null' instead of an empty array:

curl 'http://localhost:8000/tweaks/214953?dustLimit=1'

null

For consistency, I would expect this to also return en empty array.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions