mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-11-10 10:05:17 +00:00
Fix order.
This commit is contained in:
parent
6c10b90d9e
commit
0e9f1f3498
@ -997,7 +997,7 @@ impl LogManager {
|
|||||||
Box::new(iter)
|
Box::new(iter)
|
||||||
} else {
|
} else {
|
||||||
// insert the remainder to the front, so the rest are processed with alignment.
|
// insert the remainder to the front, so the rest are processed with alignment.
|
||||||
let new_iter = iter.chain(vec![Self::padding_raw(remainder)].into_iter());
|
let new_iter = vec![Self::padding_raw(remainder)].into_iter().chain(iter);
|
||||||
Box::new(new_iter)
|
Box::new(new_iter)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user