-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
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)