mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-09 07:17:56 -05:00
docs: fix doc comment errors (#20728)
This commit is contained in:
@@ -41,9 +41,9 @@ where
|
||||
/// Attempts to submit a new payload to the engine.
|
||||
///
|
||||
/// The `TryFrom` conversion will fail if `execution_outcome.state_root` is `B256::ZERO`,
|
||||
/// in which case this returns the `parent_hash` instead to drive the chain forward.
|
||||
/// in which case this method uses the `parent_hash` instead to drive the chain forward.
|
||||
///
|
||||
/// Returns the block hash to use for FCU (either the new block or parent).
|
||||
/// Returns the block hash to use for FCU (either the new block's hash or the parent hash).
|
||||
async fn submit_new_payload(&self, sequence: &FlashBlockCompleteSequence) -> B256 {
|
||||
let payload = match P::ExecutionData::try_from(sequence) {
|
||||
Ok(payload) => payload,
|
||||
|
||||
@@ -84,14 +84,14 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns the sender half to the received flashblocks.
|
||||
/// Returns the sender half for the received flashblocks broadcast channel.
|
||||
pub const fn flashblocks_broadcaster(
|
||||
&self,
|
||||
) -> &tokio::sync::broadcast::Sender<Arc<FlashBlock>> {
|
||||
&self.received_flashblocks_tx
|
||||
}
|
||||
|
||||
/// Returns the sender half to the flashblock sequence.
|
||||
/// Returns the sender half for the flashblock sequence broadcast channel.
|
||||
pub const fn block_sequence_broadcaster(
|
||||
&self,
|
||||
) -> &tokio::sync::broadcast::Sender<FlashBlockCompleteSequence> {
|
||||
|
||||
Reference in New Issue
Block a user