From a0def1162f3168521dadc16bcbb4e2cb4976df85 Mon Sep 17 00:00:00 2001 From: Jannis Pohlmann Date: Tue, 19 Sep 2023 14:10:34 +0200 Subject: [PATCH] refactor: don't expose attestation signer internals --- common/src/attestations/signers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/attestations/signers.rs b/common/src/attestations/signers.rs index e14bb5d8a..d362826b6 100644 --- a/common/src/attestations/signers.rs +++ b/common/src/attestations/signers.rs @@ -19,7 +19,7 @@ pub struct AttestationSigners { } #[derive(Debug)] -pub(crate) struct AttestationSignersInner { +pub struct AttestationSignersInner { attestation_signers: Arc>>, allocation_monitor: AllocationMonitor, indexer_mnemonic: String, @@ -53,7 +53,7 @@ impl AttestationSigners { } } - pub(crate) async fn update_attestation_signers(inner: Arc) { + pub async fn update_attestation_signers(inner: Arc) { let mut attestation_signers_write = inner.attestation_signers.write().await; for allocation in inner .allocation_monitor