Create working template for the new blocks page

This commit is contained in:
nymkappa
2022-03-10 18:35:37 +01:00
parent 77334e130d
commit 0e0331d8ab
8 changed files with 248 additions and 4 deletions

View File

@@ -658,7 +658,7 @@ class Routes {
public async getBlocksExtras(req: Request, res: Response) {
try {
res.json(await blocks.$getBlocksExtras(parseInt(req.params.height, 10)))
res.json(await blocks.$getBlocksExtras(parseInt(req.params.height, 10), 15));
} catch (e) {
res.status(500).send(e instanceof Error ? e.message : e);
}