mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-10 22:10:11 +00:00
17 lines
292 B
Go
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"
|
|
}
|