From 79b261664294e7e512d94726000a29ede4f1c6fe Mon Sep 17 00:00:00 2001
From: Arc <33088785+arcbtc@users.noreply.github.com>
Date: Wed, 5 Feb 2020 11:47:17 +0000
Subject: [PATCH] Update helpers.py

---
 lnbits/helpers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lnbits/helpers.py b/lnbits/helpers.py
index ef009e3..b7c3646 100644
--- a/lnbits/helpers.py
+++ b/lnbits/helpers.py
@@ -9,7 +9,7 @@ class MegaEncoder(json.JSONEncoder):
             for k in o.keys():
                 val[k] = o[k]
             return val
-        return o
+        return obj
 
 
 def megajson(obj):