From 1d1d5ff65d457b1a9ebaa178d6c873f55d112f83 Mon Sep 17 00:00:00 2001 From: Erik Zhang Date: Wed, 28 Oct 2020 09:14:11 +0800 Subject: [PATCH] Fix UT --- tests/neo.UnitTests/Wallets/NEP6/UT_NEP6Wallet.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/neo.UnitTests/Wallets/NEP6/UT_NEP6Wallet.cs b/tests/neo.UnitTests/Wallets/NEP6/UT_NEP6Wallet.cs index 13492c698b..1af95ce082 100644 --- a/tests/neo.UnitTests/Wallets/NEP6/UT_NEP6Wallet.cs +++ b/tests/neo.UnitTests/Wallets/NEP6/UT_NEP6Wallet.cs @@ -95,7 +95,7 @@ public void TestConstructorWithPathAndName() { NEP6Wallet wallet = new NEP6Wallet(wPath); Assert.AreEqual("name", wallet.Name); - Assert.AreEqual(new ScryptParameters(0, 0, 0).ToJson().ToString(), wallet.Scrypt.ToJson().ToString()); + Assert.AreEqual(new ScryptParameters(2, 1, 1).ToJson().ToString(), wallet.Scrypt.ToJson().ToString()); Assert.AreEqual(new Version("3.0").ToString(), wallet.Version.ToString()); wallet = new NEP6Wallet("", "test"); Assert.AreEqual("test", wallet.Name); @@ -418,7 +418,7 @@ public void Test_NEP6Wallet_Json() uut.Name.Should().Be("noname"); uut.Version.Should().Be(new Version("3.0")); uut.Scrypt.Should().NotBeNull(); - uut.Scrypt.N.Should().Be(new ScryptParameters(0, 0, 0).N); + uut.Scrypt.N.Should().Be(new ScryptParameters(2, 1, 1).N); } } }