Skip to content

Commit 5ce62b8

Browse files
committed
Test
1 parent 373f114 commit 5ce62b8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

validator_client/validator_services/src/attestation_service.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,13 +437,17 @@ impl<S: ValidatorStore + 'static, T: SlotClock + 'static> AttestationService<S,
437437
Some((attestation_data, _)) => attestation_data,
438438
None => {
439439
let mut attestation_data_service = self.attestation_data_service.write().await;
440-
attestation_data_service
440+
let attestation_data = attestation_data_service
441441
.download_data(&slot, candidate_beacon_node)
442442
.await
443-
.map(|(data, _)| data)?
443+
.map(|(data, _)| data)?;
444+
drop(attestation_data_service);
445+
attestation_data
444446
}
445447
};
446448

449+
info!(?attestation_data, "GOT ATTESTATION DATA");
450+
447451
// Create futures to produce signed `Attestation` objects.
448452
let attestation_data_ref = &attestation_data;
449453
let signing_futures = validator_duties.iter().map(|duty_and_proof| async move {

0 commit comments

Comments
 (0)