diff --git a/src/services/service.ts b/src/services/service.ts index ab220f8..87dfa49 100755 --- a/src/services/service.ts +++ b/src/services/service.ts @@ -1318,9 +1318,12 @@ export default class Services { const content = JSON.parse(response); const error = content.error; const errorMsg = error['GenericError']; - if (errorMsg === 'State is identical to the previous state') { - return; - } else if (errorMsg === 'Not enough valid proofs') { return; } + const dontRetry = [ + 'State is identical to the previous state', + 'Not enough valid proofs', + 'Not enough members to validate', + ]; + if (dontRetry.includes(errorMsg)) { return; } // Wait and retry setTimeout(async () => { await this.sendCommitMessage(JSON.stringify(content));