mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 17:01:34 +00:00
simplification
This commit is contained in:
parent
d55aa43cf6
commit
9a9e7c1b7c
6 changed files with 1 additions and 11 deletions
2
electrum
2
electrum
|
@ -224,8 +224,6 @@ if __name__ == '__main__':
|
|||
gui.create_wallet()
|
||||
|
||||
|
||||
interface.register_callback('peers', gui.server_list_changed)
|
||||
|
||||
verifier = WalletVerifier(interface, config)
|
||||
wallet.set_verifier(verifier)
|
||||
WalletSynchronizer(wallet, config).start()
|
||||
|
|
|
@ -1252,9 +1252,6 @@ class ElectrumGui():
|
|||
def restore_or_create(self):
|
||||
return restore_create_dialog(self.wallet)
|
||||
|
||||
def server_list_changed(self):
|
||||
pass
|
||||
|
||||
def seed_dialog(self):
|
||||
# ask for seed and gap.
|
||||
return run_recovery_dialog( self.wallet )
|
||||
|
|
|
@ -886,7 +886,6 @@ class ElectrumGui:
|
|||
interface.register_callback('disconnected', update_callback)
|
||||
interface.register_callback('disconnecting', update_callback)
|
||||
|
||||
def server_list_changed(self): pass
|
||||
|
||||
def main(self, url):
|
||||
s = 'main'
|
||||
|
|
|
@ -89,6 +89,7 @@ class ElectrumGui(QObject):
|
|||
self.config = config
|
||||
self.check_qt_version()
|
||||
self.app = QApplication(sys.argv)
|
||||
self.wallet.interface.register_callback('peers', self.server_list_changed)
|
||||
|
||||
|
||||
def check_qt_version(self):
|
||||
|
|
|
@ -1539,9 +1539,6 @@ class ElectrumGui:
|
|||
if app is None:
|
||||
self.app = QApplication(sys.argv)
|
||||
|
||||
def server_list_changed(self):
|
||||
pass
|
||||
|
||||
|
||||
def restore_or_create(self):
|
||||
msg = _("Wallet file not found.")+"\n"+_("Do you want to create a new wallet, or to restore an existing one?")
|
||||
|
|
|
@ -42,8 +42,6 @@ class ElectrumGui:
|
|||
self.tab_names = [_("History"), _("Send"), _("Receive"), _("Contacts"), _("Wall")]
|
||||
self.num_tabs = len(self.tab_names)
|
||||
|
||||
def server_list_changed(self):
|
||||
pass
|
||||
|
||||
def restore_or_create(self):
|
||||
pass
|
||||
|
|
Loading…
Add table
Reference in a new issue