diff --git a/src/routes/txs/hash/required-signers.ts b/src/routes/txs/hash/required-signers.ts index b9de923f..fb88d666 100644 --- a/src/routes/txs/hash/required-signers.ts +++ b/src/routes/txs/hash/required-signers.ts @@ -26,11 +26,7 @@ async function route(fastify: FastifyInstance) { return reply.send([]); } - const list: string[] = []; - - for (const row of rows) { - list.push(row.hash); - } + const list = rows.map(row => row.hash); const unpaged = isUnpaged(request);