Skip to content

Commit

Permalink
Don't populate ephemeral nodes on reads
Browse files Browse the repository at this point in the history
  • Loading branch information
pav-kv committed Jul 14, 2021
1 parent 13aca2a commit 6f43e42
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions storage/cache/log_tile.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,6 @@ func PopulateLogTile(st *storagepb.SubtreeProto, hasher hashers.LogHasher) error
return err
}
}
_, err := cr.GetRootHash(store)
if err != nil {
return fmt.Errorf("failed to compute root hash: %v", err)
}

// Additional check - after population we should have the same number of internal nodes
// as before the subtree was written to storage. Either because they were loaded from
Expand Down

0 comments on commit 6f43e42

Please sign in to comment.