mirror of
https://github.com/fiatjaf/khatru.git
synced 2026-06-06 18:51:10 +02:00
fix some dependencies and storage instantiation on example relays.
This commit is contained in:
@@ -41,6 +41,8 @@ CREATE INDEX IF NOT EXISTS timeidx ON event (created_at);
|
||||
CREATE INDEX IF NOT EXISTS kindidx ON event (kind);
|
||||
CREATE INDEX IF NOT EXISTS arbitrarytagvalues ON event USING gin (tagvalues);
|
||||
`)
|
||||
relayer.Log.Print(err)
|
||||
if err != nil {
|
||||
relayer.Log.Print(err)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/fiatjaf/go-nostr"
|
||||
"github.com/nbd-wtf/go-nostr"
|
||||
"github.com/fiatjaf/relayer"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/fiatjaf/go-nostr"
|
||||
"github.com/nbd-wtf/go-nostr"
|
||||
)
|
||||
|
||||
func (b *PostgresBackend) SaveEvent(evt *nostr.Event) error {
|
||||
|
||||
Reference in New Issue
Block a user