diff --git a/blockchain/offline_detector.go b/blockchain/offline_detector.go index 9691d365..d2100707 100644 --- a/blockchain/offline_detector.go +++ b/blockchain/offline_detector.go @@ -152,9 +152,6 @@ func (dt *OfflineDetector) ValidateBlock(head *types.Header, block *types.Block) if !head.Flags().HasFlag(types.OfflinePropose) || *prevAddr != *addr { return errors.New("no offline proposal found") } - if !block.Header.Flags().HasFlag(types.IdentityUpdate) { - return errors.New("if OfflineCommit is set, IdentityUpdate should be set too") - } if !dt.verifyOfflineProposing(block.Header.ParentHash()) { return errors.New(fmt.Sprintf("addr %v should not be set offline, block %v", addr.Hex(), block.Hash().Hex()))