Skip to content

Commit

Permalink
- removed PubKeysBitmap check on the shard header
Browse files Browse the repository at this point in the history
  • Loading branch information
iulianpascalau committed Jan 31, 2023
1 parent ccb72c6 commit c566f47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions data/block/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -597,9 +597,6 @@ func (h *Header) CheckFieldsForNil() error {
if h.RandSeed == nil {
return fmt.Errorf("%w in Header.RandSeed", data.ErrNilValue)
}
if h.PubKeysBitmap == nil {
return fmt.Errorf("%w in Header.PubKeysBitmap", data.ErrNilValue)
}
if h.RootHash == nil {
return fmt.Errorf("%w in Header.RootHash", data.ErrNilValue)
}
Expand Down
1 change: 1 addition & 0 deletions data/block/blockChecks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
var headerV1ExceptionFields = []string{
"Signature",
"LeaderSignature",
"PubKeysBitmap",
"MetaBlockHashes",
"EpochStartMetaHash",
"ReceiptsHash",
Expand Down

0 comments on commit c566f47

Please sign in to comment.