Commit e2387ebb authored by Steven Allen's avatar Steven Allen

fix hamt node not protobuf error

License: MIT
Signed-off-by: default avatarSteven Allen <steven@stebalien.com>
parent fa9489ef
......@@ -100,7 +100,7 @@ func makeShard(ds ipld.DAGService, size int) (*Shard, error) {
func NewHamtFromDag(dserv ipld.DAGService, nd ipld.Node) (*Shard, error) {
pbnd, ok := nd.(*dag.ProtoNode)
if !ok {
return nil, dag.ErrLinkNotFound
return nil, dag.ErrNotProtobuf
}
pbd, err := format.FromBytes(pbnd.Data())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment