Skip to content

Commit

Permalink
Correction to MerkleTreeStore
Browse files Browse the repository at this point in the history
  • Loading branch information
HermanSchoenfeld committed Feb 13, 2024
1 parent 52b0c67 commit cf8c474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hydrogen/ObjectSpaces/MetaData/MerkleTreeStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public override byte[] ReadBytes(long index)

public override void Add(long index, byte[] data) {
using var _ = Container.EnterAccessScope();
_merkleTree.Leafs.Insert(index, data);
_merkleTree.Leafs.Add(data);
_merkleRootProperty.Value = _merkleTree.Root;
}

Expand Down

0 comments on commit cf8c474

Please sign in to comment.