chore: rm redundant if empty check (#4923)

This commit is contained in:
Matthias Seitz
2023-10-05 19:09:55 +02:00
committed by GitHub
parent 99dfad9470
commit 442f28a8f2

View File

@ -861,10 +861,8 @@ where
let mut payload = BuiltPayload::new(attributes.id, sealed_block, total_fees);
if !blob_sidecars.is_empty() {
// extend the payload with the blob sidecars from the executed txs
payload.extend_sidecars(blob_sidecars);
}
Ok(BuildOutcome::Better { payload, cached_reads })
}