Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseAbram committed Feb 10, 2025
1 parent fcc850c commit b4002de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/threshold-signature-server/src/helpers/app_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ impl Default for Cache {
}

impl Cache {
/// Setup new Cache
pub fn new() -> Self {
Self {
tss_state: Arc::new(RwLock::new(TssState::new())),
Expand Down Expand Up @@ -180,6 +181,7 @@ pub struct AppState {
pub configuration: Configuration,
/// Key-value store
pub kv_store: KvManager,
/// Global cache for TSS server
pub cache: Cache,
}

Expand Down

0 comments on commit b4002de

Please sign in to comment.