prysmaticlabs / prysm

Redundant error checking RVV-B0005
Style
Major
1 occurrence in this check
redundant if ...; err != nil check, just return error instead.
 405	if payloadRoot != headerRoot {
 406		return errors.New("cannot unblind with different execution data")
 407	}
 408	if err := b.SetExecution(e); err != nil { 409		return err
 410	}
 411	return nil