mirror of
https://github.com/RoboSats/robosats.git
synced 2025-02-20 20:29:02 +00:00
Small variable name fixes
This commit is contained in:
parent
ac24c310c5
commit
df7f034667
@ -521,11 +521,11 @@ class LNNode:
|
||||
)
|
||||
order.save()
|
||||
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 {
|
||||
"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'
|
||||
|
Loading…
Reference in New Issue
Block a user