chore: code clean-up

This commit is contained in:
Vlad Stan
2026-02-13 16:59:05 +02:00
parent e990901548
commit 06f9cf6a57
+1 -1
View File
@@ -154,7 +154,7 @@ class LightsparkSparkWallet(Wallet):
"payment_hash": payment_hash,
}
res = await self._request("POST", "/v1/payments", payload)
checking_id = payment_hash or res.get("checking_id") # todo: preimage
checking_id = payment_hash or res.get("checking_id")
if not checking_id:
return PaymentResponse(
ok=False,