perf: remove redundant ommers sealing (#2386)

This commit is contained in:
Roman Krasiuk
2023-04-25 15:53:16 +03:00
committed by GitHub
parent 21ebfee461
commit b4d69e68dc
11 changed files with 18 additions and 48 deletions

View File

@@ -403,7 +403,7 @@ mod tests {
SealedBlock {
header: transformed.header.seal_slow(),
body: transformed.body,
ommers: transformed.ommers.into_iter().map(Header::seal_slow).collect(),
ommers: transformed.ommers,
withdrawals: transformed.withdrawals,
}
.into()