diff --git a/chain/types/blockheader.go b/chain/types/blockheader.go index adbb13c95..86d516f98 100644 --- a/chain/types/blockheader.go +++ b/chain/types/blockheader.go @@ -2,7 +2,6 @@ package types import ( "bytes" - "fmt" "math/big" "github.com/minio/blake2b-simd" @@ -102,14 +101,6 @@ func DecodeBlock(b []byte) (*BlockHeader, error) { return nil, err } - if blk.ElectionProof == nil { - return nil, fmt.Errorf("block cannot have nil election proof") - } - - if blk.Ticket == nil { - return nil, fmt.Errorf("block cannot have nil ticket") - } - return &blk, nil }