cln sse should be working
This commit is contained in:
parent
92ea0635d7
commit
7af0b786d1
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue