Skip to content

Commit daf1e65

Browse files
committed
use cbor many store interface
1 parent c84f946 commit daf1e65

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

amt_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ func init() {
3030
}
3131

3232
var (
33-
bitWidths3 = []uint{8}
3433
bitWidths2to18 = []uint{2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18}
3534
bitWidths2to3 = []uint{2, 3}
3635
)

node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ func (n *node) forEachAtParallel(ctx context.Context, bs cbor.IpldStore, bitWidt
390390
}
391391
}
392392

393-
dserv := bs.(*cbor.BatchOpIpldStore)
393+
dserv := bs.(cbor.IpldBatchOpStore)
394394
nodes := make([]interface{}, len(linksToVisit))
395395
for j := 0; j < len(linksToVisit); j++ {
396396
nodes[j] = new(internal.Node)

0 commit comments

Comments
 (0)