payjoin / nolooking

Batched Channels from a PayJoin ⚡️🔀
41 stars 8 forks source link

Add missing reserve #78

Closed DanGould closed 1 year ago

DanGould commented 1 year ago

Fix #76. Lnd's RequiredReserve returns the amount the wallet needs to have when it opens a channel. Only add reserve amount if it is missing from the wallet's total balance

DanGould commented 1 year ago

✅ tested opening new channels with & without missing required reserve. The correct output is added to the tx