mirror of
https://github.com/RoboSats/robosats.git
synced 2025-02-21 12:49:02 +00:00
Small variable name fixes
This commit is contained in:
parent
ac24c310c5
commit
df7f034667
@ -521,11 +521,11 @@ class LNNode:
|
|||||||
)
|
)
|
||||||
order.save()
|
order.save()
|
||||||
print(
|
print(
|
||||||
f"Order: {order.id} FAILED. Hash: {hash} Reason: {LNNode.payment_failure_context[response.failure_reason]}"
|
f"Order: {order.id} FAILED. Hash: {hash} Reason: {cls.payment_failure_context[response.failure_reason]}"
|
||||||
)
|
)
|
||||||
return {
|
return {
|
||||||
"succeded": False,
|
"succeded": False,
|
||||||
"context": f"payment failure reason: {LNNode.payment_failure_context[response.failure_reason]}",
|
"context": f"payment failure reason: {cls.payment_failure_context[response.failure_reason]}",
|
||||||
}
|
}
|
||||||
|
|
||||||
if response.status == 2: # Status 2 'SUCCEEDED'
|
if response.status == 2: # Status 2 'SUCCEEDED'
|
||||||
|
Loading…
Reference in New Issue
Block a user