mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 20:35:13 +00:00
fix indent
This commit is contained in:
parent
7ddc29a912
commit
034bc64fe6
2 changed files with 8 additions and 9 deletions
|
@ -18,12 +18,12 @@ class QRCodeWidget(QWidget):
|
||||||
|
|
||||||
def set_addr(self, addr):
|
def set_addr(self, addr):
|
||||||
if self.addr != addr:
|
if self.addr != addr:
|
||||||
if len(addr) < 128:
|
if len(addr) < 128:
|
||||||
MinSize = 210
|
MinSize = 210
|
||||||
else:
|
else:
|
||||||
MinSize = 500
|
MinSize = 500
|
||||||
self.setMinimumSize(MinSize, MinSize)
|
self.setMinimumSize(MinSize, MinSize)
|
||||||
self.addr = addr
|
self.addr = addr
|
||||||
self.qr = None
|
self.qr = None
|
||||||
self.update()
|
self.update()
|
||||||
|
|
||||||
|
|
|
@ -215,9 +215,8 @@ class Plugin(BasePlugin):
|
||||||
def sign_raw_transaction(self, tx, input_info, dialog ="", password = ""):
|
def sign_raw_transaction(self, tx, input_info, dialog ="", password = ""):
|
||||||
try:
|
try:
|
||||||
self.gui.wallet.signrawtransaction(tx, input_info, [], password)
|
self.gui.wallet.signrawtransaction(tx, input_info, [], password)
|
||||||
txtext = json.dumps(tx.as_dict()).replace(' ', '')
|
txtext = json.dumps(tx.as_dict()).replace(' ', '')
|
||||||
self.show_tx_qrcode(txtext, 'Signed Transaction')
|
self.show_tx_qrcode(txtext, 'Signed Transaction')
|
||||||
|
|
||||||
except BaseException, e:
|
except BaseException, e:
|
||||||
self.gui.show_message(str(e))
|
self.gui.show_message(str(e))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue