Example #1
0
        public void TestContains()
        {
            byte[] privateKey = new byte[32];
            using (RandomNumberGenerator rng = RandomNumberGenerator.Create())
            {
                rng.GetBytes(privateKey);
            }
            var account = wallet.CreateAccount(privateKey);

            wallet.Contains(account.ScriptHash).Should().BeTrue();
        }
Example #2
0
 public void TestContains()
 {
     wallet.Contains(account.ScriptHash).Should().BeTrue();
 }