chore: fix payload builder typos (#2927)

This commit is contained in:
Matthias Seitz
2023-05-31 14:37:57 +02:00
committed by GitHub
parent b7fb236986
commit cc90358371

View File

@ -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));