small code organizing
@@ -23,6 +23,7 @@ from ansible_vault import Vault
import json
from substrateinterface import Keypair
+__SALT = b"Iguesscyborgslikemyselfhaveatendencytobeparanoidaboutourorigins"
class CryptoKeyError(Exception):
""" Exception for invalid signature, key, token, password, etc
@@ -33,8 +34,6 @@ class KeyFileError(Exception):
""" Overwrite the built-in CryptoKeyError
"""
-__SALT = b"Iguesscyborgslikemyselfhaveatendencytobeparanoidaboutourorigins"
-
class _user_interface:
""" Stores functions for the interactions with user
including asking and validating password, permission for overwrite and displaying messages
