add pool to import

This commit is contained in:
Barry Deen
2024-09-23 01:05:04 -04:00
parent 1c01cd42af
commit 617efdbad8

View File

@@ -104,6 +104,7 @@ func importTaggedNotes() {
func subscribeInbox() {
ctx := context.Background()
wdb := eventstore.RelayWrapper{Store: &inboxDB}
pool = nostr.NewSimplePool(ctx)
filters := []nostr.Filter{{
Tags: nostr.TagMap{
"p": {nPubToPubkey(config.OwnerNpub)},