diff --git a/src/IpfsEngine.csproj b/src/IpfsEngine.csproj index 0337696c..3728d1c1 100644 --- a/src/IpfsEngine.csproj +++ b/src/IpfsEngine.csproj @@ -43,7 +43,7 @@ - + diff --git a/src/UnixFileSystem/ChunkedStream.cs b/src/UnixFileSystem/ChunkedStream.cs index 975c3dce..988a23fb 100644 --- a/src/UnixFileSystem/ChunkedStream.cs +++ b/src/UnixFileSystem/ChunkedStream.cs @@ -102,7 +102,7 @@ public override void Write(byte[] buffer, int offset, int count) /// public override int Read(byte[] buffer, int offset, int count) { - return ReadAsync(buffer, offset, count).Result; + return ReadAsync(buffer, offset, count).GetAwaiter().GetResult(); } ///