mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-28 04:46:18 +02:00
@@ -125,9 +125,8 @@ class CLightningWallet(Wallet):
|
|||||||
writer.write(call.encode())
|
writer.write(call.encode())
|
||||||
await writer.drain()
|
await writer.drain()
|
||||||
|
|
||||||
data = await reader.read(500)
|
data = await reader.read()
|
||||||
paid = json.loads(data.decode("ascii"))
|
paid = json.loads(data.decode("ascii"))
|
||||||
print(paid)
|
|
||||||
|
|
||||||
paid = self.ln.waitanyinvoice(self.last_pay_index)
|
paid = self.ln.waitanyinvoice(self.last_pay_index)
|
||||||
self.last_pay_index = paid["pay_index"]
|
self.last_pay_index = paid["pay_index"]
|
||||||
|
Reference in New Issue
Block a user