diff --git a/hamt/hamt.go b/hamt/hamt.go index 17aa01733..ccdffe7e4 100644 --- a/hamt/hamt.go +++ b/hamt/hamt.go @@ -125,6 +125,7 @@ func NewHamtFromDag(dserv dag.DAGService, nd node.Node) (*HamtShard, error) { return ds, nil } +// SetPrefix sets the CID Prefix func (ds *HamtShard) SetPrefix(prefix *cid.Prefix) { ds.prefix = prefix }