parent
306783c661
commit
1265afebbb
|
@ -103,7 +103,7 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn create_test_recent_blockhashes(start: usize) -> RecentBlockhashes {
|
pub fn create_test_recent_blockhashes(start: usize) -> RecentBlockhashes {
|
||||||
let bhq: Vec<_> = (start..start + (MAX_ENTRIES - 1))
|
let bhq: Vec<_> = (start..start + MAX_ENTRIES)
|
||||||
.map(|i| hash(&serialize(&i).unwrap()))
|
.map(|i| hash(&serialize(&i).unwrap()))
|
||||||
.collect();
|
.collect();
|
||||||
RecentBlockhashes::from_iter(bhq.iter())
|
RecentBlockhashes::from_iter(bhq.iter())
|
||||||
|
|
Loading…
Reference in New Issue