We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 609269c commit 13382fdCopy full SHA for 13382fd
packages/core/src/lib/lit-core.ts
@@ -315,7 +315,7 @@ export class LitCore {
315
* See rust/lit-node/common/lit-node-testnet/src/validator.rs > threshold for more details
316
*/
317
protected _getThreshold = (): number => {
318
- return Math.max(3, Math.floor((this.config.minNodeCount * 2) / 3));
+ return Math.max(3, Math.floor((this.connectedNodes.size * 2) / 3));
319
};
320
321
private async _handleStakingContractStateChange(
0 commit comments