mirror of
https://github.com/mempool/mempool.git
synced 2025-03-15 12:20:28 +01:00
Return not implemented error instead of empty array.
This commit is contained in:
parent
e36646ac7c
commit
38d534caee
1 changed files with 3 additions and 3 deletions
|
@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue