Skip to content

Commit

Permalink
Update src/Neo/Extensions/Persistence/ReadOnlyViewExtensions.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Shargon <[email protected]>
  • Loading branch information
nan01ab and shargon authored Jan 24, 2025
1 parent c06a38d commit 1eb7e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Neo/Extensions/Persistence/ReadOnlyViewExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public static class ReadOnlyViewExtensions
/// <exception cref="ArgumentException">
/// Thrown when <paramref name="keyPrefix"/> is all 0xff and <paramref name="maxSizeWhenAll0xff"/> is less than or equal to 0.
/// </exception>
internal static byte[] GetSeekPrefix(this byte[]? keyPrefix, int maxSizeWhenAll0xff = 4096 /* make it long enough */)
internal static byte[] GetSeekPrefix(this byte[]? keyPrefix, ushort maxSizeWhenAll0xff = 4096 /* make it long enough */)
{
if (keyPrefix == null) // Backwards seek for null prefix is not supported for now.
throw new ArgumentNullException(nameof(keyPrefix));
Expand Down

0 comments on commit 1eb7e1e

Please sign in to comment.