improve SimplePool authHandler, rename IncomingEvent to RelayEvent so we can use it there.

This commit is contained in:
fiatjaf
2024-09-19 12:28:42 -03:00
parent c07528eb42
commit 8327310d52
3 changed files with 31 additions and 26 deletions

View File

@ -7,7 +7,7 @@ import (
"github.com/nbd-wtf/go-nostr/sdk/hints"
)
func (sys *System) trackEventHints(ie nostr.IncomingEvent) {
func (sys *System) TrackEventHints(ie nostr.RelayEvent) {
if IsVirtualRelay(ie.Relay.URL) {
return
}