mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
Fix typo
This commit is contained in:
@@ -1460,7 +1460,8 @@ pub async fn block_seen_on_gossip_with_some_blobs() {
|
|||||||
let blobs = blobs.expect("should have some blobs");
|
let blobs = blobs.expect("should have some blobs");
|
||||||
assert!(
|
assert!(
|
||||||
blobs.0.len() >= 2,
|
blobs.0.len() >= 2,
|
||||||
"need at least 2 blobs for partial reveal"
|
"need at least 2 blobs for partial reveal, got: {}",
|
||||||
|
blobs.0.len()
|
||||||
);
|
);
|
||||||
|
|
||||||
let partial_kzg_proofs = vec![*blobs.0.first().unwrap()];
|
let partial_kzg_proofs = vec![*blobs.0.first().unwrap()];
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ use std::slice::SliceIndex;
|
|||||||
/// // Push a value to if it _does_ exceed the maximum.
|
/// // Push a value to if it _does_ exceed the maximum.
|
||||||
/// assert!(long.push(6).is_err());
|
/// assert!(long.push(6).is_err());
|
||||||
///
|
///
|
||||||
/// let mut uninit = RuntimeVariableList::empty_unitialized();
|
/// let mut uninit = RuntimeVariableList::empty_uninitialized();
|
||||||
/// assert!(uninit.push(5).is_err());
|
/// assert!(uninit.push(5).is_err());
|
||||||
///
|
///
|
||||||
/// // Set max_len to allow mutation.
|
/// // Set max_len to allow mutation.
|
||||||
|
|||||||
Reference in New Issue
Block a user