fix failing network tests (#4472)

This commit is contained in:
realbigsean 2023-07-05 15:52:59 -04:00 committed by GitHub
parent d9254b7ded
commit d41193c318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -707,8 +707,8 @@ async fn attestation_to_unknown_block_processed(import_method: BlockImportMethod
BlockImportMethod::Rpc => {
rig.enqueue_rpc_block();
events.push(RPC_BLOCK);
rig.enqueue_single_lookup_rpc_blobs();
if num_blobs > 0 {
rig.enqueue_single_lookup_rpc_blobs();
events.push(RPC_BLOB);
}
}
@ -790,8 +790,8 @@ async fn aggregate_attestation_to_unknown_block(import_method: BlockImportMethod
BlockImportMethod::Rpc => {
rig.enqueue_rpc_block();
events.push(RPC_BLOCK);
rig.enqueue_single_lookup_rpc_blobs();
if num_blobs > 0 {
rig.enqueue_single_lookup_rpc_blobs();
events.push(RPC_BLOB);
}
}