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
No known key found for this signature in database
GPG key ID: 488D7DCFB5A430D7

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');
}
}