mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-08-27 14:22:20 +02:00
rename option pool.WithQueryMiddleware() to pool.WithAuthorKindQueryMiddleware().
This commit is contained in:
@@ -106,7 +106,7 @@ func NewSystem(mods ...SystemModifier) *System {
|
||||
}
|
||||
|
||||
sys.Pool = nostr.NewSimplePool(context.Background(),
|
||||
nostr.WithQueryMiddleware(sys.TrackQueryAttempts),
|
||||
nostr.WithAuthorKindQueryMiddleware(sys.TrackQueryAttempts),
|
||||
nostr.WithEventMiddleware(sys.TrackEventHints),
|
||||
nostr.WithPenaltyBox(),
|
||||
)
|
||||
|
Reference in New Issue
Block a user