Update lntxbot.py
This commit is contained in:
parent
171e639109
commit
a40823de43
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ class LntxbotWallet(Wallet):
|
||||||
|
|
||||||
data = r.json()
|
data = r.json()
|
||||||
|
|
||||||
if "preimage" not in data or not data["preimage"]:
|
if "preimage" not in data:
|
||||||
return PaymentStatus(False)
|
return PaymentStatus(False)
|
||||||
|
|
||||||
return PaymentStatus(True)
|
return PaymentStatus(True)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue