10 sats \ 0 replies \ @anipy 26 Jan 2023 \ on: Daily discussion thread
- Implemented TransactMenuScreen in LightningX!
- GET request for wallet details and payment list is implemented successfully.
- Having one doubt in mind:
- The endpoint response gives balance in int which is actually msats
- Conversion of msats to sats is 0.001
- My doubt is the conversion needs to be in int or double?
- 500 msats => 0.5 sats || 0 sats
- 5000 msats => 5 sats || 5.0 sats
- 5500 msats => 5.5 sats || 5 sats
- I don't know if roundof would make any difference or not. For now i'm just following double.
- Checked munn, it doesn't even allow us to create invoices for double type sats. (Maybe that's the solution)
- Back and neck pain sucks 😶