Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

listfunds: Moved from array of struct to array of pointers. #34

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vincenzopalazzo
Copy link

I noted that there is a mistake in the API, almost all the arrays are arrays of pointers, but in the case of the listfunds it is returned an array of the struct.

There is also a test written a couple of weeks ago, because I noted a crash in the library but I was not able to catch it. Test is always good I think :)

Signed-off-by: Vincenzo Palazzo <[email protected]>
The list forwards grows quickly, and in terms of performance it is better have a list of pointer instead of a list of struct.

Signed-off-by: Vincenzo Palazzo <[email protected]>
Signed-off-by: Vincenzo Palazzo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant