From d23df351a5413bb2575b30be740473952c88c9be Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 22 Nov 2022 01:44:53 -0800 Subject: pds: update to use Ticker --- adenosine-pds/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'adenosine-pds/src') diff --git a/adenosine-pds/src/lib.rs b/adenosine-pds/src/lib.rs index 6c6b1c5..ea61218 100644 --- a/adenosine-pds/src/lib.rs +++ b/adenosine-pds/src/lib.rs @@ -1,4 +1,4 @@ -use adenosine_cli::identifiers::{AtUri, Did, Nsid, Tid, TidLord}; +use adenosine_cli::identifiers::{AtUri, Did, Nsid, Ticker, Tid}; use anyhow::{anyhow, Result}; use askama::Template; use libipld::Cid; @@ -38,7 +38,7 @@ pub struct AtpService { pub repo: RepoStore, pub atp_db: AtpDatabase, pub pds_keypair: KeyPair, - pub tid_gen: TidLord, + pub tid_gen: Ticker, pub config: AtpServiceConfig, } @@ -141,7 +141,7 @@ impl AtpService { repo: RepoStore::open(blockstore_db_path)?, atp_db: AtpDatabase::open(atp_db_path)?, pds_keypair: keypair, - tid_gen: TidLord::new(), + tid_gen: Ticker::new(), config, }) } @@ -151,7 +151,7 @@ impl AtpService { repo: RepoStore::open_ephemeral()?, atp_db: AtpDatabase::open_ephemeral()?, pds_keypair: KeyPair::new_random(), - tid_gen: TidLord::new(), + tid_gen: Ticker::new(), config: AtpServiceConfig::default(), }) } -- cgit v1.2.3