From 3b6ea0c66efcd0cc3cfdc0a25ef20c91beb4b0a9 Mon Sep 17 00:00:00 2001 From: pippellia-btc Date: Fri, 11 Jul 2025 12:38:58 +0200 Subject: [PATCH] using relay store in sync as well --- cmd/sync/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/sync/main.go b/cmd/sync/main.go index 855bc75..9d555d0 100644 --- a/cmd/sync/main.go +++ b/cmd/sync/main.go @@ -9,11 +9,11 @@ import ( "sync" "time" - "github.com/pippellia-btc/nastro/sqlite" "github.com/vertex-lab/crawler_v2/pkg/config" "github.com/vertex-lab/crawler_v2/pkg/graph" "github.com/vertex-lab/crawler_v2/pkg/pipe" "github.com/vertex-lab/crawler_v2/pkg/redb" + "github.com/vertex-lab/relay/pkg/store" "github.com/nbd-wtf/go-nostr" "github.com/redis/go-redis/v9" @@ -40,7 +40,7 @@ func main() { events := make(chan *nostr.Event, config.EventsCapacity) pubkeys := make(chan string, config.PubkeysCapacity) - store, err := sqlite.New(config.SQLiteURL) + store, err := store.New(config.SQLiteURL) if err != nil { panic(err) }