Skip to content

genericTagQueryList does not correctly serialize #144

Description

@kuiperanon
        String new_geohash = "2vgddg";
        List<String> geohashList = new ArrayList<String>();
        geohashList.add(new_geohash);
        genericTagQuery.setValue(geohashList);
        Filters filters = NIP01.createFilters(null, null, null, null, null, null, null, null, new GenericTagQueryList(genericTagQuery));

If you send this, then the sent serialized REQ string looks like this:

INFO: Sending serialized message: ["REQ","de3daa94-ff45-496f-b1a4-13d6ba50abe6",{"genericTagQueryList":[{"nip":1,"#g":["2vghde"]}]}]

When it should be more like:

INFO: Sending serialized message: ["REQ","de3daa94-ff45-496f-b1a4-13d6ba50abe6","#g":["2vghde"]}]}]

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Done!Completed the implementation. May require more testing.bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions