Skip to content

Commit

Permalink
use cbor many store interface
Browse files Browse the repository at this point in the history
  • Loading branch information
i-norden committed Oct 17, 2023
1 parent c84f946 commit daf1e65
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion amt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}
)
Expand Down
2 changes: 1 addition & 1 deletion node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit daf1e65

Please sign in to comment.