Deneb review suggestions (3) (#4694)

* Fix typos

* Avoid consuming/cloning blob

* Tidy comments
This commit is contained in:
Paul Hauner
2023-09-06 05:50:57 +10:00
committed by GitHub
parent 0bfc933c50
commit 2550170337
7 changed files with 20 additions and 16 deletions

View File

@@ -758,7 +758,7 @@ impl<T: BeaconChainTypes> GossipVerifiedBlock<T> {
/// Instantiates `Self`, a wrapper that indicates the given `block` is safe to be re-gossiped
/// on the p2p network.
///
/// Returns an error if the block is invalid, or i8f the block was unable to be verified.
/// Returns an error if the block is invalid, or if the block was unable to be verified.
pub fn new(
block: Arc<SignedBeaconBlock<T::EthSpec>>,
chain: &BeaconChain<T>,