glightning
glightning copied to clipboard
listfunds: Moved from array of struct to array of pointers.
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 :)