Return not implemented error instead of empty array.

This commit is contained in:
softsimon 2021-01-11 00:26:36 +07:00
parent 9fcede2cb6
commit bbc917a2d9

View File

@ -656,15 +656,15 @@ class Routes {
}
public async getAdressTxChain(req: Request, res: Response) {
res.status(404).send('Not implemented');
res.status(501).send('Not implemented');
}
public async getAddressPrefix(req: Request, res: Response) {
res.json([]);
res.status(501).send('Not implemented');
}
public getTransactionOutspends(req: Request, res: Response) {
res.json([]);
res.status(501).send('Not implemented');
}
}