sdk: clarify event tracker functions.

This commit is contained in:
fiatjaf
2025-01-16 17:47:31 -03:00
parent febf022124
commit 956868e956
2 changed files with 23 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ func decodeRelayList(data []byte) []string {
return relays
}
func (sys *System) trackEventRelayCommon(eventID string, relay string, onlyIfItExists bool) {
func (sys *System) trackEventRelay(eventID string, relay string, onlyIfItExists bool) {
// decode the event ID hex into bytes
idBytes, err := hex.DecodeString(eventID)
if err != nil || len(idBytes) < 8 {