rename Equal -> FilterEqual.

This commit is contained in:
fiatjaf 2022-01-02 09:06:33 -03:00
parent 140edc693c
commit 5cdcdfc66f

View File

@ -57,7 +57,7 @@ func (ef EventFilter) Matches(event *Event) bool {
return true
}
func Equal(a EventFilter, b EventFilter) bool {
func FilterEqual(a EventFilter, b EventFilter) bool {
if !a.Kinds.Equals(b.Kinds) {
return false
}