Files
tendermint/libs/pubsub/query/empty.go
2021-07-01 11:17:48 -04:00

19 lines
300 B
Go

package query
import (
"github.com/tendermint/tendermint/abci/types"
)
// Empty query matches any set of events.
type Empty struct {
}
// Matches always returns true.
func (Empty) Matches(events []types.Event) (bool, error) {
return true, nil
}
func (Empty) String() string {
return "empty"
}