Always set exit node to online

Fixes #1692
This commit is contained in:
Owen
2025-10-19 10:47:32 -07:00
parent 346183a23f
commit d9fe5a8819
2 changed files with 5 additions and 2 deletions

View File

@@ -47,7 +47,8 @@ export async function createExitNode(publicKey: string, reachableAt: string | un
.update(exitNodes)
.set({
reachableAt,
publicKey
publicKey,
online: true
})
.where(eq(exitNodes.publicKey, publicKey))
.returning();