Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Scooletz committed Sep 5, 2024
1 parent 90bdc50 commit e4c4eb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Paprika.Importer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
{
throw new Exception($"Searched for {back} block back since {blockNumber} and failed to load the root");
}

emptyPath = TreePath.Empty;
} while (trie.RootRef.TryResolveNode(store, ref emptyPath) == false);

Expand Down Expand Up @@ -178,7 +178,7 @@
else
{
using var read = db.BeginReadOnlyBatch();
StatisticsForPagedDb.Report(layout[stats], read);
StatisticsForPagedDb.Report(layout[stats], read, db);
// await using (var blockchain =
// new Blockchain(db, preCommit, TimeSpan.FromSeconds(10), CacheBudget.Options.None, 100, () => reporter.Observe()))
// {
Expand Down

0 comments on commit e4c4eb1

Please sign in to comment.