feat: return errors instead of doing asserts

This commit is contained in:
adrian
2025-09-03 12:14:04 +02:00
committed by Tamara
parent 7b028f4263
commit ae6f5e0a12
2 changed files with 10 additions and 15 deletions

View File

@@ -19,7 +19,7 @@ pub struct TychoRunner {
}
// TODO: Currently Tycho-Indexer cannot be run as a lib. We need to expose the entrypoints to allow
// running it as a lib
// running it as a lib
impl TychoRunner {
pub fn new(db_url: String, initialized_accounts: Vec<String>, with_binary_logs: bool) -> Self {
Self { db_url, initialized_accounts, with_binary_logs }