Comment on wallet classes. Use address_is_old to check if address is beyond gap limit
[electrum-nvc.git] / lib / simple_config.py
index 4fa9c08..30c7f9d 100644 (file)
@@ -6,6 +6,15 @@ import os
 from util import user_dir, print_error, print_msg
 
 
+config = None
+def get_config():
+    global config
+    return config
+
+def set_config(c):
+    global config
+    config = c
+
 
 class SimpleConfig:
     """
@@ -32,7 +41,7 @@ a SimpleConfig instance then reads the wallet file.
         self.user_config = {}
         self.read_user_config()
 
-
+        set_config(self)