Skip to content

Commit

Permalink
update to Neo v3.0.0-CI01234 (neo-project#538)
Browse files Browse the repository at this point in the history
* update to Neo v3.0.0-CI01232

* fix UT

* fix
  • Loading branch information
superboyiii authored and joeqian10 committed Apr 7, 2021
1 parent 0d2a51e commit 3eaf7cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Neo" Version="3.0.0-CI01229" />
<PackageReference Include="Neo" Version="3.0.0-CI01234" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions tests/Neo.Network.RPC.Tests/UT_TransactionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ await txManager
Assert.AreEqual(100, tx.SystemFee);

// duplicate sign should not add new witness
await txManager.AddSignature(keyPair1).SignAsync();
Assert.AreEqual(1, txManager.Tx.Witnesses.Length);
await ThrowsAsync<Exception>(async () => await txManager.AddSignature(keyPair1).SignAsync());
Assert.AreEqual(null, txManager.Tx.Witnesses);

// throw exception when the KeyPair is wrong
await ThrowsAsync<Exception>(async () => await txManager.AddSignature(keyPair2).SignAsync());
Expand Down

0 comments on commit 3eaf7cf

Please sign in to comment.