Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
added NOTE comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adlrocha committed Dec 6, 2021
1 parent d47316c commit d08ea35
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions chain/consensus/hierarchical/checkpoints/schema/checkpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ import (

// Linkproto is the default link prototype used for Checkpoints
// It uses the default CidBuilder for Filecoin (see abi)
//
// NOTE: Maybe we should consider using another CID proto
// for checkpoints so they can be identified uniquely.
// This may fix the error faced when using Links in the
// Checkpoint schema. We had to hide checkpoints behind []byte
// so they're not interpreted as links from the state tree.
var Linkproto = cidlink.LinkPrototype{
Prefix: cid.Prefix{
Version: 1,
Expand Down

0 comments on commit d08ea35

Please sign in to comment.