1
0

lnworker: don't log InvoiceError

lnworker._pay does not need log_exceptions decorator,
as we properly await the coroutine
This commit is contained in:
SomberNight
2019-12-10 03:19:56 +01:00
parent b99add59c3
commit daef1a8359
2 changed files with 3 additions and 2 deletions

View File

@@ -892,7 +892,6 @@ class LNWallet(LNWorker):
if chan.short_channel_id == short_channel_id:
return chan
@log_exceptions
async def _pay(self, invoice, amount_sat=None, attempts=1) -> bool:
lnaddr = self._check_invoice(invoice, amount_sat)
payment_hash = lnaddr.paymenthash