Return not implemented error instead of empty array.

This commit is contained in:
softsimon
2021-01-11 00:26:36 +07:00
parent e36646ac7c
commit 38d534caee

View File

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