Skip to content

Commit

Permalink
Add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
yzang2019 committed Oct 4, 2023
1 parent aff12e1 commit aaf2bb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,12 @@ func (ndb *nodeDB) extractStateChanges(prevVersion int64, prevRoot []byte, root
if err := consumeNewLeaves(); err != nil {
return err
}
fmt.Printf("after consumeNewLeaves\n")

sharedNode = nil
for curIter.Valid() {
node := curIter.GetNode()
fmt.Printf("curIter is valid %d\n", node.version)
shared := node.version <= prevVersion
curIter.Next(shared)
if shared {
Expand Down

0 comments on commit aaf2bb6

Please sign in to comment.