Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
cool-develope committed Sep 20, 2023
1 parent c5b622a commit 2df5955
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nodedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@ func (ndb *nodeDB) GetRoot(version int64) ([]byte, error) {
return nil, nil
}
if isReferenceToRoot(val) { // point to the prev root
fmt.Printf("rootKey: %v, val: %v\n", version, val)
return append(val[1:], 0, 0, 0, 1), nil
}

Expand Down

0 comments on commit 2df5955

Please sign in to comment.