Skip to content

Commit

Permalink
update dependency + remove nuget.config
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry committed Mar 10, 2022
1 parent b3563d6 commit 53f404e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning">
<Version> 3.4.244</Version>
<Version> 3.4.255</Version>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
Expand Down
8 changes: 0 additions & 8 deletions NuGet.Config

This file was deleted.

2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<PropertyGroup>
<NeoVersion>3.1.0</NeoVersion>
<BlockchainToolkitLibraryVersion>3.1.31</BlockchainToolkitLibraryVersion>
<BlockchainToolkitLibraryVersion>3.1.35</BlockchainToolkitLibraryVersion>
<BlockchainToolkitLibraryLocalPath>..\..\..\lib-bctk</BlockchainToolkitLibraryLocalPath>
<!-- <BlockchainToolkitLibraryVersion>local</BlockchainToolkitLibraryVersion> -->
</PropertyGroup>
Expand Down
5 changes: 3 additions & 2 deletions src/runner/Extensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO.Abstractions;
using System.Linq;
using Neo.BlockchainToolkit;
Expand All @@ -19,7 +20,7 @@ public static ContractParameterParser CreateContractParameterParser(this IReadOn

public static ContractParameterParser CreateContractParameterParser(this ExpressChain chain, ContractParameterParser.TryGetUInt160 tryGetContract, IFileSystem? fileSystem = null)
{
ContractParameterParser.TryGetUInt160 tryGetAccount = (string name, out UInt160 scriptHash) =>
ContractParameterParser.TryGetUInt160 tryGetAccount = (string name, [MaybeNullWhen(false)] out UInt160 scriptHash) =>
{
if (chain.TryGetDefaultAccount(name, out var account))
{
Expand Down Expand Up @@ -61,7 +62,7 @@ public static ContractParameterParser.TryGetUInt160 CreateTryGetContract(this IR
.ToArray();
}

return (string name, out UInt160 scriptHash) =>
return (string name, [MaybeNullWhen(false)] out UInt160 scriptHash) =>
{
for (int i = 0; i < contracts.Length; i++)
{
Expand Down

0 comments on commit 53f404e

Please sign in to comment.