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) {
 | 
			
		||||
    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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user