From c15de7430284f7b96ea2ed32bac2f123de247166 Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 5 Mar 2025 16:07:32 +0100 Subject: [PATCH] Fixes incorrect timing assert in WaitForContractSubmitted --- ProjectPlugins/CodexClient/StoragePurchaseContract.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectPlugins/CodexClient/StoragePurchaseContract.cs b/ProjectPlugins/CodexClient/StoragePurchaseContract.cs index b0dde5ba..618ca1c3 100644 --- a/ProjectPlugins/CodexClient/StoragePurchaseContract.cs +++ b/ProjectPlugins/CodexClient/StoragePurchaseContract.cs @@ -72,7 +72,7 @@ namespace CodexClient contractSubmittedUtc = DateTime.UtcNow; if (raiseHook) hooks.OnStorageContractSubmitted(this); LogSubmittedDuration(); - AssertDuration(PendingToSubmitted, gracePeriod, nameof(PendingToSubmitted)); + AssertDuration(PendingToSubmitted, timeout, nameof(PendingToSubmitted)); } public void WaitForStorageContractStarted()