func (m *DKGEvidenceMissingData) ValidateBasic() error {
	if len(m.pubkey.Bytes()) == 0 {
		return errors.New("Empty PubKey")
	}
	return nil
}
ValidateBasic performs basic validation.
package consensus
import (
	"bytes"
	"fmt"
	"github.com/pkg/errors"
	"github.com/tendermint/tendermint/crypto"
	"github.com/tendermint/tendermint/crypto/tmhash"
	"github.com/tendermint/tendermint/types"
)
type DKGEvidenceMissingData struct {
	pubkey crypto.PubKey
	height int64
}
func (m *DKGEvidenceMissingData) String() string {
	return fmt.Sprintf("Anndress: %s", m.pubkey.Address().String())
}
func (m *DKGEvidenceMissingData) Height() int64 {
	return m.height
}
func (m *DKGEvidenceMissingData) Address() []byte {
	return m.pubkey.Address()
}
func (m *DKGEvidenceMissingData) Bytes() []byte {
	return cdc.MustMarshalBinaryBare(m)
}
func (m *DKGEvidenceMissingData) Hash() []byte {
	return tmhash.Sum(cdc.MustMarshalBinaryBare(m))
}
func (m *DKGEvidenceMissingData) Verify(chainID string, pubKey crypto.PubKey) error {
	return nil
}
func (m *DKGEvidenceMissingData) Equal(ev types.Evidence) bool {
	if _, ok := ev.(*DKGEvidenceMissingData); !ok {
		return false
	}
	mHash := tmhash.Sum(cdc.MustMarshalBinaryBare(m))
	evHash := tmhash.Sum(cdc.MustMarshalBinaryBare(m))
	return bytes.Equal(mHash, evHash)
}