fix faulty outbox database check logic when it doesn't exist.

fixes https://github.com/fiatjaf/nak/issues/66
This commit is contained in:
fiatjaf
2025-05-21 14:12:07 -03:00
parent f450e735b6
commit 61a68f3dca
2 changed files with 3 additions and 3 deletions

View File

@@ -85,7 +85,7 @@ var app = &cli.Command{
sys = sdk.NewSystem()
if err := initializeOutboxHintsDB(c, sys); err != nil {
return ctx, fmt.Errorf("failed to initialized outbox hints: %w", err)
return ctx, fmt.Errorf("failed to initialize outbox hints: %w", err)
}
sys.Pool = nostr.NewPool(nostr.PoolOptions{