diff --git a/amt_test.go b/amt_test.go index b401dc9..41e100a 100644 --- a/amt_test.go +++ b/amt_test.go @@ -30,7 +30,6 @@ func init() { } var ( - bitWidths3 = []uint{8} bitWidths2to18 = []uint{2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18} bitWidths2to3 = []uint{2, 3} ) diff --git a/node.go b/node.go index b9adcaf..d06e9c1 100644 --- a/node.go +++ b/node.go @@ -390,7 +390,7 @@ func (n *node) forEachAtParallel(ctx context.Context, bs cbor.IpldStore, bitWidt } } - dserv := bs.(*cbor.BatchOpIpldStore) + dserv := bs.(cbor.IpldBatchOpStore) nodes := make([]interface{}, len(linksToVisit)) for j := 0; j < len(linksToVisit); j++ { nodes[j] = new(internal.Node)