make lndgrpc work using the purerpc library and a manually-declared method.

This commit is contained in:
fiatjaf
2020-10-04 12:06:54 -03:00
parent 9994e61615
commit f5b8ed8fc6
6 changed files with 94 additions and 27 deletions
+1 -1
View File
@@ -95,6 +95,6 @@ class LNPayWallet(Wallet):
)
data = r.json()
if data["settled"]:
self.send.send(lntx_id)
await self.send.send(lntx_id)
return "", HTTPStatus.NO_CONTENT