Skip to content

Commit 1e5f85d

Browse files
committed
fix(cell): fix make cell
1 parent 3c756f1 commit 1e5f85d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cell/cell_impl/rc.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ impl CellContext for EmptyCellContext {
194194
}
195195
}
196196

197-
unsafe fn make_cell(ctx: CellParts, hashes: Vec<(HashBytes, u16)>) -> Cell {
197+
unsafe fn make_cell(ctx: CellParts, hashes: Box<[(HashBytes, u16)]>) -> Cell {
198198
unsafe {
199199
match ctx.descriptor.cell_type() {
200200
CellType::PrunedBranch => {
@@ -232,7 +232,6 @@ unsafe fn make_cell(ctx: CellParts, hashes: Vec<(HashBytes, u16)>) -> Cell {
232232
hashes,
233233
descriptor: ctx.descriptor,
234234
references: ctx.references.into_inner(),
235-
without_first: false,
236235
},
237236
ctx.data,
238237
),

0 commit comments

Comments
 (0)