const data: any = []\r
results.forEach(r => data.push({ privateKey: hex.toBytes(r.privateKey as string), index: r.index }))\r
let now = performance.now()\r
- const keypairs: [{ publicKey: string, privateKey: string, index: number }] = await this.#pool.work(data)\r
+ const keypairs: KeyPair[] = await this.#pool.work(data)\r
console.log(`keypairs: ${-now + (now = performance.now())} ms`)\r
for (const keypair of keypairs) {\r
if (keypair.publicKey == null) throw new RangeError('Account public key missing')\r