lightning network support

This commit is contained in:
Josh Harvey 2018-01-28 19:10:00 +02:00
parent 1a31b27845
commit 4625ffef0f
7 changed files with 1305 additions and 101 deletions

View file

@ -216,6 +216,7 @@ function preProcess (oldTx, newTx, pi) {
.then(newTxHd => {
return pi.newAddress(newTxHd)
.then(_.set('toAddress', _, newTxHd))
.then(_.unset('isLightning'))
})
.then(addressedTx => {
const rec = {to_address: addressedTx.toAddress}