This repository was archived by the owner on Feb 23, 2021. It is now read-only.
This repository was archived by the owner on Feb 23, 2021. It is now read-only.
Better error handling for channel opening under min #1026
Open
Description
Description
There is no proper error handling for attempting to open channel under required amount.
When attempting to open channel much under min, lightning-app just displays "Creating channel failed!".
This happened only when sending >20k sats, but when sending 20.5k sats another error showed.
Instead inform the user of minimum channel amount, and throw more informative errors.
Steps to reproduce the behavior
Attempt to open channel under 20k sats.
Attempt to open channel with 20.1-20.5k
Expected behavior
Throw informative error
Actual behavior
Does not throw informative error