mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: fix payload builder typos (#2927)
This commit is contained in:
@ -120,7 +120,7 @@ where
|
||||
.find_block_by_hash(attributes.parent, BlockSource::Any)?
|
||||
.ok_or_else(|| PayloadBuilderError::MissingParentBlock(attributes.parent))?;
|
||||
|
||||
// we already now the hash, so we can seal it
|
||||
// we already know the hash, so we can seal it
|
||||
block.seal(attributes.parent)
|
||||
};
|
||||
|
||||
@ -137,8 +137,6 @@ where
|
||||
chain_spec: Arc::clone(&self.chain_spec),
|
||||
};
|
||||
|
||||
// create empty
|
||||
|
||||
let until = tokio::time::Instant::now() + self.config.deadline;
|
||||
let deadline = Box::pin(tokio::time::sleep_until(until));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user