glightning icon indicating copy to clipboard operation
glightning copied to clipboard

Better Satoshi / MSat handling in RPC objects

Open niftynei opened this issue 4 years ago • 0 comments

Currently most RPC result objects that deal with satoshis/msats return two fields, one a 'legacy' value field and another denominated as a string 'msat'.

Ideally, glightning would paper over this by returning an MSat type instead of two different fields on the result.

niftynei avatar Mar 10 '20 21:03 niftynei