mirror of
https://github.com/mempool/mempool.git
synced 2024-11-19 09:52:14 +01:00
Calculate sigops in /api/v1/tx/:txid for mined txs
This commit is contained in:
parent
4ac0a6dad2
commit
29299e622e
@ -251,7 +251,7 @@ class BitcoinRoutes {
|
|||||||
|
|
||||||
private async getTransaction(req: Request, res: Response) {
|
private async getTransaction(req: Request, res: Response) {
|
||||||
try {
|
try {
|
||||||
const transaction = await transactionUtils.$getTransactionExtended(req.params.txId, true);
|
const transaction = await transactionUtils.$getTransactionExtended(req.params.txId, true, false, false, true);
|
||||||
res.json(transaction);
|
res.json(transaction);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
let statusCode = 500;
|
let statusCode = 500;
|
||||||
|
Loading…
Reference in New Issue
Block a user