mirror of
https://github.com/mempool/mempool.git
synced 2026-08-19 13:18:06 +02:00
Calculate sigops in /api/v1/tx/:txid for mined txs
This commit is contained in:
parent
4ac0a6dad2
commit
29299e622e
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ class BitcoinRoutes {
|
|||
|
||||
private async getTransaction(req: Request, res: Response) {
|
||||
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);
|
||||
} catch (e) {
|
||||
let statusCode = 500;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue