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