mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-11 13:09:52 +00:00
new session if host changed
This commit is contained in:
parent
13265c922d
commit
eaec64c3ef
1 changed files with 6 additions and 3 deletions
|
@ -1024,9 +1024,12 @@ class BitcoinGUI:
|
||||||
show_message("error")
|
show_message("error")
|
||||||
return
|
return
|
||||||
|
|
||||||
wallet.host = host
|
if host!= wallet.host or port!=wallet.port:
|
||||||
wallet.port = port
|
wallet.host = host
|
||||||
wallet.save()
|
wallet.port = port
|
||||||
|
wallet.save()
|
||||||
|
self.is_connected = False
|
||||||
|
wallet.new_session()
|
||||||
|
|
||||||
|
|
||||||
def main(self):
|
def main(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue