diff --git a/Libplanet/Store/Trie/MerkleTrie.cs b/Libplanet/Store/Trie/MerkleTrie.cs index 101ab6bf3fb..f012a1bece5 100644 --- a/Libplanet/Store/Trie/MerkleTrie.cs +++ b/Libplanet/Store/Trie/MerkleTrie.cs @@ -290,14 +290,6 @@ bool GuessValueNode(in ImmutableArray path, byte[] value) // It assumes every length of value nodes is same with Address' hexadecimal // string's hexadecimal string's size. bool isValueNode = GuessValueNode(path, value); - bool noFingerprint = value.All(x => x != '*'); - if (noFingerprint) - { - yield return (key, value); - - // To avoid decode value node, it decodes when only there is '*' character, - // fingerprint. - } if (isValueNode) { @@ -305,7 +297,7 @@ bool GuessValueNode(in ImmutableArray path, byte[] value) } var node = NodeDecoder.Decode(_codec.Decode(value, LoadIndirectValue)); - if (!noFingerprint && !(node is null)) + if (!(node is null)) { yield return (key, _codec.Encode(node.ToBencodex())); }