mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 10:39:59 +01:00
cln sse should be working
This commit is contained in:
parent
92ea0635d7
commit
7af0b786d1
@ -125,9 +125,8 @@ class CLightningWallet(Wallet):
|
||||
writer.write(call.encode())
|
||||
await writer.drain()
|
||||
|
||||
data = await reader.read(500)
|
||||
data = await reader.read()
|
||||
paid = json.loads(data.decode("ascii"))
|
||||
print(paid)
|
||||
|
||||
paid = self.ln.waitanyinvoice(self.last_pay_index)
|
||||
self.last_pay_index = paid["pay_index"]
|
||||
|
Loading…
Reference in New Issue
Block a user