Ejemplo n.º 1
0
        public void AddAccountAlias(string address, string alias)
        {
            UInt160 accountScriptHash = address.ToScriptHash();

            if (_walletManager.Contains(accountScriptHash))
            {
                _walletManager.UpdateAccountAlias(accountScriptHash, alias);
            }
            else
            {
                _consoleHandler.WriteLine("\nAccount not found.");
            }
        }