Skip to content

Commit

Permalink
refactor: don't expose attestation signer internals
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannis committed Sep 19, 2023
1 parent aa73048 commit a0def11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/src/attestations/signers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub struct AttestationSigners {
}

#[derive(Debug)]
pub(crate) struct AttestationSignersInner {
pub struct AttestationSignersInner {
attestation_signers: Arc<RwLock<HashMap<Address, AttestationSigner>>>,
allocation_monitor: AllocationMonitor,
indexer_mnemonic: String,
Expand Down Expand Up @@ -53,7 +53,7 @@ impl AttestationSigners {
}
}

pub(crate) async fn update_attestation_signers(inner: Arc<AttestationSignersInner>) {
pub async fn update_attestation_signers(inner: Arc<AttestationSignersInner>) {
let mut attestation_signers_write = inner.attestation_signers.write().await;
for allocation in inner
.allocation_monitor
Expand Down

0 comments on commit a0def11

Please sign in to comment.