Another .NET 6 fix. Fixes
@@ -743,7 +743,7 @@ namespace Miningcore
// register repositories
builder.RegisterAssemblyTypes(Assembly.GetExecutingAssembly())
.Where(t =>
- t.Namespace?.StartsWith(typeof(ShareRepository).Namespace) == true)
+ t?.Namespace?.StartsWith(typeof(ShareRepository).Namespace) == true)
.AsImplementedInterfaces()
.SingleInstance();
}
