old_contents: 
  from neo.SmartContract.ContractParameterType import ContractParameterType
  from neocore.Cryptography.Crypto import Crypto
  import binascii
  from logzero import logger
  
  class VerificationCode():
  
      Script = None
  
      ParameterList = None
  
      ReturnType = ContractParameterType.Boolean
  
      _scriptHash = None
  
      @property
      def ScriptHash(self):
  
          if self._scriptHash is None:
              try:
                  self._scriptHash = Crypto.ToScriptHash(self.Script)
              except binascii.Error:
                  self._scriptHash = Crypto.ToScriptHash(self.Script, unhex=False)
              except Exception as e:
                  logger.error("Could not create script hash: %s " % e)
  
          return self._scriptHash
  
      def __init__(self, script=None, param_list=None):
          self.Script = script
          self.ParameterList = param_list
  
new_contents: 
  from neo.SmartContract.ContractParameterType import ContractParameterType
  from neocore.Cryptography.Crypto import Crypto
  import binascii
  from logzero import logger
  
  
  class VerificationCode():
  
      Script = None
  
      ParameterList = None
  
      ReturnType = ContractParameterType.Boolean
  
      _scriptHash = None
  
      @property
      def ScriptHash(self):
  
          if self._scriptHash is None:
              try:
                  self._scriptHash = Crypto.ToScriptHash(self.Script)
              except binascii.Error:
                  self._scriptHash = Crypto.ToScriptHash(self.Script, unhex=False)
              except Exception as e:
                  logger.error("Could not create script hash: %s " % e)
  
          return self._scriptHash
  
      def __init__(self, script=None, param_list=None):
          self.Script = script
          self.ParameterList = param_list
  
subject: fix for #247