Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

Commit

Permalink
Improving Lelantus support
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey committed Nov 19, 2020
1 parent cebf226 commit 1f2121d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions electrum/address_synchronizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,4 +818,6 @@ def get_coinbase_tx_type(self, tx):
result = 1
if tx.inputs()[0]['prevout_n'] != 0xffffffff:
result = 2
if tx.inputs()[0]['scriptSig'].startswith("c7"):
result = 2
return result
2 changes: 2 additions & 0 deletions electrum/gui/qt/transaction_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,8 @@ def get_coinbase_tx_type(self, tx):
result = 'Coinbase'
if tx['prevout_n'] != 0xffffffff:
result = 'Sigma'
if tx['scriptSig'].startswith("c7"):
result = 'Lelantus'
return result

class QTextEditWithDefaultSize(QTextEdit):
Expand Down

0 comments on commit 1f2121d

Please sign in to comment.