Skip to content

Commit

Permalink
Removing comments from value 1
Browse files Browse the repository at this point in the history
  • Loading branch information
vncoelho authored Jan 14, 2020
1 parent 7054db9 commit 8a9fdf7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/neo/UInt160.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@ namespace Neo
{
/// <summary>
/// This class stores a 160 bit unsigned int, represented as a 20-byte little-endian byte array
/// It is composed by ulong(64) + ulong(64) + uint(32) = UInt160(160)
/// </summary>
[StructLayout(LayoutKind.Explicit, Size = 20)]
public class UInt160 : IComparable<UInt160>, IEquatable<UInt160>, ISerializable
{
public const int Length = 20;
public static readonly UInt160 Zero = new UInt160();

/// <summary>
/// ulong(64) + ulong(64) + uint(32) = UInt160(160)
/// </summary>
[FieldOffset(0)] private ulong value1;
[FieldOffset(8)] private ulong value2;
[FieldOffset(16)] private uint value3;
Expand Down

0 comments on commit 8a9fdf7

Please sign in to comment.