send 0 fees when not available

This commit is contained in:
Tiago vasconcelos 2022-05-05 15:47:25 +01:00
parent 96df280d49
commit 1695d0ce0e

View File

@ -135,7 +135,7 @@ class EclairWallet(Wallet):
except: except:
error_message = r.text error_message = r.text
pass pass
return PaymentResponse(False, None, 0, None, error_message) return PaymentResponse(True, checking_id, 0, preimage, error_message) ## ?? is this ok ??
data = r.json() data = r.json()
fees = [i["status"] for i in data] fees = [i["status"] for i in data]