no longer send initial data

This commit is contained in:
Daniel Lugo 2020-11-06 12:28:02 -04:00
parent b8bd7daa6e
commit 0f7d255a21

View file

@ -708,24 +708,6 @@ module.exports = async (
user: {
alias,
publicKey
},
follows: await GunGetters.Follows.currentFollows(),
data: {
invoices: await Common.makePromise((res, rej) => {
lightning.listInvoices(
{
reversed: true,
num_max_invoices: 50
},
(err, lres) => {
if (err) {
rej(new Error(err.details))
} else {
res(lres)
}
}
)
})
}
})