Skip to content

Commit

Permalink
filterUsed: sending a set (#92)
Browse files Browse the repository at this point in the history
(cherry picked from commit 74d70a9)
  • Loading branch information
mmahut committed Oct 20, 2020
1 parent 8c8707f commit 7466aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/filterUsedAddress.ts
Expand Up @@ -148,7 +148,7 @@ export const filterUsedAddresses = (pool : Pool) => async (req: Request, res: Re
.filter(addr => addressSet.has(addr))
.forEach(addr => result.add(addr));
}
res.send([...result]);
res.send(Array.from(result));
return;

}
Expand Down

0 comments on commit 7466aeb

Please sign in to comment.