simplify sub system init

This commit is contained in:
2021-02-18 22:44:25 +01:00
parent 97c5a8cd7b
commit 9f8bdfc2a0
6 changed files with 32 additions and 36 deletions

View File

@@ -25,7 +25,8 @@ async fn main() -> Result<()> {
supported_data_versions: SUPPORTED_DATA_VERSIONS.iter().cloned().collect(),
current_data_version: CURRENT_DATA_VERSION,
};
let (repo, info) = crdt_enc::Core::open(open_options).await?;
let repo = crdt_enc::Core::open(open_options).await?;
let info = repo.info();
// let actor_id = repo.actor_id();