Files
tendermint/libs/pubsub/query/empty.go
2021-08-24 13:26:01 +02:00

17 lines
292 B
Go

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