mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-09-03 07:17:21 +02:00
improve SimplePool authHandler, rename IncomingEvent to RelayEvent so we can use it there.
This commit is contained in:
@@ -70,7 +70,7 @@ func NewSystem(mods ...SystemModifier) *System {
|
||||
}
|
||||
|
||||
sys.Pool = nostr.NewSimplePool(context.Background(),
|
||||
nostr.WithEventMiddleware(sys.trackEventHints),
|
||||
nostr.WithEventMiddleware(sys.TrackEventHints),
|
||||
nostr.WithPenaltyBox(),
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user