polar
polar copied to clipboard
feat: add button to auto-balance LN channels
Solves #831.
NOTE: work in progress, implementation not ready yet.
Done
- Add new action in network store to autobalance channels.
- Add button component that dispatch that action
To do
- Make it work
- Add tests
Help needed here.
Trying to auto-balance the channel I got the error Insufficient balance
, but this should not happen since the source has more than enough funds to pay the target and that can be confirmed by logging the amounts in the console.
I decided to open the PR anyway, so I can get help with the bug.