Found constant expressions in conditions JS-0003
Bug risk
Major
4 months ago3 years old
 78    i = null
 79    nonce = 0
 80    e = BigInteger.fromBuffer(buf_sha256)
 81    while (true) { 82      ecsignature = ecdsa.sign(curve, buf_sha256, private_key.d, nonce++)
 83      der = ecsignature.toDER()
 84      lenR = der[3]
Unexpected constant condition
172      }
173      await sleep(backoff(tries++));
174    }
175  } while (true);176}
177
178const failover = (
102
103  const run = async () => {
104    try {
105      while (true) {106        await iter.next();
107      }
108    } catch (error) {