Skip to content

Commit

Permalink
Tempfix for coinbase display
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinlesceller committed Nov 4, 2019
1 parent 8da7139 commit 7216766
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions transactions/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ def transaction_overview(request, coin_symbol, tx_hash):
coinbase_msg = None
else:
is_coinbase_tx = True
total_satoshis_coinbase = inputs[0]['output_value']
fee_in_satoshis_coinbase = total_satoshis - total_satoshis_coinbase
total_satoshis_coinbase, fee_in_satoshis_coinbase = 0, 0
coinbase_msg = str(unhexlify(inputs[0]['script']))

api_url = 'https://api.blockcypher.com/v1/%s/%s/txs/%s?limit=%s&includeHex=true' % (
Expand Down

0 comments on commit 7216766

Please sign in to comment.