Dupe code cleanup

This commit is contained in:
Jack Kingsman
2026-03-18 19:22:09 -07:00
parent 7895671309
commit 2c6ab31202
11 changed files with 50 additions and 107 deletions
-17
View File
@@ -335,23 +335,6 @@ class ContactRepository:
)
await db.conn.commit()
@staticmethod
async def update_path(
public_key: str,
path: str,
path_len: int,
path_hash_mode: int | None = None,
updated_at: int | None = None,
) -> None:
"""Compatibility shim for legacy callers/tests."""
await ContactRepository.update_direct_path(
public_key,
path,
path_len,
path_hash_mode,
updated_at=updated_at,
)
@staticmethod
async def set_routing_override(
public_key: str,