mirror of
https://github.com/vacp2p/status-linea-besu.git
synced 2026-01-09 22:07:59 -05:00
make sure closure is checking the protocol schedule correctly (#6165)
Signed-off-by: Justin Florentine <justin+github@florentine.us>
This commit is contained in:
committed by
GitHub
parent
a582b88a11
commit
0ccb4d4400
@@ -156,7 +156,13 @@ public class RlpBlockImporter implements Closeable {
|
||||
previousBlockFuture =
|
||||
validationFuture.runAfterBothAsync(
|
||||
calculationFutures,
|
||||
() -> evaluateBlock(context, block, header, protocolSpec, skipPowValidation),
|
||||
() ->
|
||||
evaluateBlock(
|
||||
context,
|
||||
block,
|
||||
header,
|
||||
protocolSchedule.getByBlockHeader(header),
|
||||
skipPowValidation),
|
||||
importExecutor);
|
||||
previousBlockFuture.exceptionally(
|
||||
exception -> {
|
||||
|
||||
Reference in New Issue
Block a user