lightninglabs / lightning-app

An easy-to-use cross-platform Lightning wallet
GNU General Public License v3.0
898 stars 172 forks source link

on-chain: max payment toggle only uses 80% of available balance #1252

Open Roasbeef opened 5 years ago

Roasbeef commented 5 years ago

The max payment toggle seems to only use 80% of the available balance: https://github.com/lightninglabs/lightning-app/blob/7b055a2704631c344bc0add526d86da35a92be20/src/action/payment.js#L144

Perhaps this was a work around to account for fees before the SendAll bool became a thing?