Пример #1
0
        public async Task <bool> VerifySeedWords(string seedWords)
        {
            if (string.IsNullOrWhiteSpace(seedWords))
            {
                return(false);
            }

            var words  = seedWords.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
            var actual = string.Join(" ", words);

            return(await walletManager.RestoreWallet(actual, passcode));
        }