From df7f0346672b4e2570362bf4c3bae64c166723a5 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Sat, 22 Apr 2023 12:41:17 -0700 Subject: [PATCH] Small variable name fixes --- api/lightning/node.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/lightning/node.py b/api/lightning/node.py index 54658f4a..9ed84b70 100644 --- a/api/lightning/node.py +++ b/api/lightning/node.py @@ -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'