Skip to content

Commit

Permalink
Merge branch 'feature/MPT' of github.com:KickSeason/neo into feature/MPT
Browse files Browse the repository at this point in the history
  • Loading branch information
KickSeason committed May 28, 2020
2 parents 1742c55 + 5f71a37 commit 822291d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neo/Cryptography/MPT/MPTTrie.Delete.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private bool TryDelete(ref MPTNode node, ReadOnlySpan<byte> path)
result = TryDelete(ref branchNode.Children[path[0]], path[1..]);
}
if (!result) return false;
List<byte> childrenIndexes = new List<byte>();
List<byte> childrenIndexes = new List<byte>(BranchNode.ChildCount);
for (int i = 0; i < BranchNode.ChildCount; i++)
{
if (branchNode.Children[i] is HashNode hn && hn.IsEmpty) continue;
Expand Down

0 comments on commit 822291d

Please sign in to comment.