Merge pull request #278 from shocknet/fix/send-all

send all flag
This commit is contained in:
CapDog 2021-01-01 13:07:41 -06:00 committed by GitHub
commit 95ff23ab08

View file

@ -1880,7 +1880,8 @@ module.exports = async (
const sendCoinsRequest = {
addr: req.body.addr,
amount: req.body.amount,
sat_per_byte: req.body.satPerByte
sat_per_byte: req.body.satPerByte,
send_all: req.body.send_all === true
}
logger.debug('SendCoins', sendCoinsRequest)
lightning.sendCoins(sendCoinsRequest, async (err, response) => {