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 4c195f2 commit b666274Copy full SHA for b666274
src/resolver.c
@@ -302,7 +302,7 @@ exists(resolver_tx *tx, MtmTxStateMask mask)
302
{
303
int i;
304
305
- for (i = 0; i < tx->n_participants; i++)
+ for (i = 0; i < MTM_MAX_NODES; i++)
306
307
if (tx->state[i] & mask)
308
return true;
@@ -317,7 +317,7 @@ majority_in(resolver_tx *tx, MtmTxStateMask mask)
317
318
int hits = 0;
319
320
321
322
323
hits++;
0 commit comments