Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

Commit

Permalink
Correct Bitfield data type
Browse files Browse the repository at this point in the history
  • Loading branch information
drmathias committed Jul 29, 2020
1 parent 2cc314f commit b5c0aed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/Sia.Skynet/Sia.Skynet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>8.0</LangVersion>
<LangVersion>latest</LangVersion>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<PropertyGroup>
<Version>1.0.3</Version>
<Version>1.0.4</Version>
<Authors>Adam Shirt</Authors>
<Description>Library for integrating Sia Skynet into your applications</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand All @@ -17,7 +17,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.FileProviders.Abstractions" Version="3.1.5" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Abstractions" Version="3.1.6" />
<PackageReference Include="MimeTypes" Version="2.0.2" />
<PackageReference Include="System.Text.Json" Version="4.7.2" />
</ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/Sia.Skynet/UploadResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ public class UploadResponse
public string Skylink { get; set; }

/// <summary>
/// The merkleroot
/// The hash that is encoded into the Skylink
/// </summary>
public string Merkleroot { get; set; }

/// <summary>
/// The bitfield
/// The bitfield contains a version, an offset and a length in a heavily compressed and optimized format
/// </summary>
public byte Bitfield { get; set; }
public ushort Bitfield { get; set; }
}
}

0 comments on commit b5c0aed

Please sign in to comment.