From 197235ede4573823a9b02157174745eafbc98c44 Mon Sep 17 00:00:00 2001 From: Damian Nolan Date: Thu, 15 Dec 2022 18:15:24 +0000 Subject: [PATCH] removing commented out code in validate basic --- modules/light-clients/06-solomachine/header.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/light-clients/06-solomachine/header.go b/modules/light-clients/06-solomachine/header.go index 7a57ae4c548..382eddfe34e 100644 --- a/modules/light-clients/06-solomachine/header.go +++ b/modules/light-clients/06-solomachine/header.go @@ -36,13 +36,9 @@ func (h Header) GetPubKey() (cryptotypes.PubKey, error) { return publicKey, nil } -// ValidateBasic ensures that the sequence, signature and public key have all +// ValidateBasic ensures that the timestamp, signature and public key have all // been initialized. func (h Header) ValidateBasic() error { - // if h.Sequence == 0 { - // return sdkerrors.Wrap(clienttypes.ErrInvalidHeader, "sequence number cannot be zero") - // } - if h.Timestamp == 0 { return sdkerrors.Wrap(clienttypes.ErrInvalidHeader, "timestamp cannot be zero") }