Skip to content

Purify get functions #75

@dohaki

Description

@dohaki

Most of the getter functions in the library are not pure. They depend on which user is loaded in the state and restrict the functionality of the relay REST API.

Refactor getter functions to be pure, i.e.

// not pure
tlNetwork.trustline.get(network, counterpartyAddress)

// pure
tlNetwork.trustline.get(network, user, counterpartyAddress)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions