@fairmint/canton-node-sdk 0.0.70 → 0.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -100,7 +100,7 @@ async function getCurrentMiningRoundDomainId(validatorClient) {
|
|
|
100
100
|
* @param maxWaitTime Maximum time to wait in milliseconds (default: 10 minutes)
|
|
101
101
|
* @returns Promise that resolves when the round has changed
|
|
102
102
|
*/
|
|
103
|
-
async function waitForRoundChange(validatorClient, initialRoundNumber, maxWaitTime =
|
|
103
|
+
async function waitForRoundChange(validatorClient, initialRoundNumber, maxWaitTime = 15 * 60 * 1000 // 15 minutes default
|
|
104
104
|
) {
|
|
105
105
|
const startTime = Date.now();
|
|
106
106
|
const checkInterval = 20000; // Check every 20 seconds
|