From 7923e5b0322d9a885b4333ce5e4a478faed88f7d Mon Sep 17 00:00:00 2001 From: Decho Kocharin Date: Tue, 10 Sep 2024 00:10:24 +0700 Subject: [PATCH] fix start diff --- src/Miningcore/Mining/PoolBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Miningcore/Mining/PoolBase.cs b/src/Miningcore/Mining/PoolBase.cs index 8e0abd987..4390fe29e 100644 --- a/src/Miningcore/Mining/PoolBase.cs +++ b/src/Miningcore/Mining/PoolBase.cs @@ -69,7 +69,7 @@ protected PoolBase(IComponentContext ctx, protected static readonly TimeSpan maxShareAge = TimeSpan.FromSeconds(6); protected static readonly TimeSpan loginFailureBanTimeout = TimeSpan.FromSeconds(10); protected static readonly Regex regexStaticDiff = new(@";?d=(\d*(\.\d+)?)", RegexOptions.Compiled); - protected static readonly Regex regexStartDiff = new(@";?sd=(\sd*(\.\sd+)?)", RegexOptions.Compiled); + protected static readonly Regex regexStartDiff = new(@";?sd=(\d*(\.\d+)?)", RegexOptions.Compiled); protected const string PasswordControlVarsSeparator = ";"; protected abstract Task SetupJobManager(CancellationToken ct);