Calculate sigops in /api/v1/tx/:txid for mined txs

This commit is contained in:
Mononaut 2023-11-13 03:42:12 +00:00
parent 4ac0a6dad2
commit 29299e622e
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E

View File

@ -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;