mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: use different cancel wrapper for prewarm tasks (#14221)
This commit is contained in:
@ -44,7 +44,7 @@ use reth_provider::{
|
||||
StateRootProvider, StorageRootProvider,
|
||||
};
|
||||
use reth_revm::{
|
||||
cancelled::Cancelled, database::StateProviderDatabase, witness::ExecutionWitnessRecord,
|
||||
cancelled::CancelOnDrop, database::StateProviderDatabase, witness::ExecutionWitnessRecord,
|
||||
};
|
||||
use reth_transaction_pool::{
|
||||
pool::BestPayloadTransactions, BestTransactionsAttributes, PoolTransaction, TransactionPool,
|
||||
@ -648,7 +648,7 @@ pub struct OpPayloadBuilderCtx<EvmConfig: ConfigureEvmEnv, N: NodePrimitives> {
|
||||
/// Evm Settings
|
||||
pub evm_env: EvmEnv<EvmConfig::Spec>,
|
||||
/// Marker to check whether the job has been cancelled.
|
||||
pub cancel: Cancelled,
|
||||
pub cancel: CancelOnDrop,
|
||||
/// The currently best payload.
|
||||
pub best_payload: Option<OpBuiltPayload<N>>,
|
||||
/// Receipt builder.
|
||||
|
||||
Reference in New Issue
Block a user