Skip to content

Commit 2918831

Browse files
authored
Update src/Neo.Cryptography.MPTTrie/Cache.cs
1 parent 9a9fd8f commit 2918831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Neo.Cryptography.MPTTrie/Cache.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ private byte[] Key(UInt256 hash)
4848
{
4949
var buffer = new byte[UInt256.Length + 1];
5050
buffer[0] = _prefix;
51-
hash.GetSpan().CopyTo(buffer.AsSpan(1));
51+
hash.Serialize(buffer.AsSpan(1));
5252
return buffer;
5353
}
5454

0 commit comments

Comments
 (0)