mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 17:01:34 +00:00
remove gap setting from gui; this should be modified by conscious users only.
This commit is contained in:
parent
5af496ceb5
commit
12e19d3408
1 changed files with 1 additions and 4 deletions
|
@ -191,7 +191,7 @@ def run_settings_dialog(wallet, is_create, is_recovery, parent):
|
|||
seed_box.show()
|
||||
vbox.pack_start(seed_box, False, False, 5)
|
||||
|
||||
if is_recovery or (not is_create):
|
||||
if is_recovery:
|
||||
gap = gtk.HBox()
|
||||
gap_label = gtk.Label('Gap limit:')
|
||||
gap_label.set_size_request(150,10)
|
||||
|
@ -251,7 +251,6 @@ def run_settings_dialog(wallet, is_create, is_recovery, parent):
|
|||
seed = mnemonic.mn_decode( seed.split(' ') )
|
||||
if not is_create:
|
||||
fee = fee_entry.get_text()
|
||||
gap = gap_entry.get_text()
|
||||
|
||||
dialog.destroy()
|
||||
if r==gtk.RESPONSE_CANCEL:
|
||||
|
@ -270,7 +269,6 @@ def run_settings_dialog(wallet, is_create, is_recovery, parent):
|
|||
gap = int(gap)
|
||||
if not is_create:
|
||||
fee = int( 100000000 * Decimal(fee) )
|
||||
gap = int(gap)
|
||||
except:
|
||||
show_message("error")
|
||||
return
|
||||
|
@ -283,7 +281,6 @@ def run_settings_dialog(wallet, is_create, is_recovery, parent):
|
|||
wallet.gap_limit = gap
|
||||
if not is_create:
|
||||
wallet.fee = fee
|
||||
wallet.gap_limit = gap
|
||||
wallet.save()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue