Browse Source

follow-up previous commit

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 5 years ago
parent
commit
d6c7dee547
  1. 4
      electrum/wallet.py

4
electrum/wallet.py

@ -1372,9 +1372,9 @@ class Abstract_Wallet(AddressSynchronizer):
return return
self.check_if_expired(req) self.check_if_expired(req)
# add URL if we are running a payserver # add URL if we are running a payserver
if self.config.get('payserver_port'): if self.config.get('run_payserver'):
host = self.config.get('payserver_host', 'localhost') host = self.config.get('payserver_host', 'localhost')
port = self.config.get('payserver_port') port = self.config.get('payserver_port', 8002)
root = self.config.get('payserver_root', '/r') root = self.config.get('payserver_root', '/r')
use_ssl = bool(self.config.get('ssl_keyfile')) use_ssl = bool(self.config.get('ssl_keyfile'))
protocol = 'https' if use_ssl else 'http' protocol = 'https' if use_ssl else 'http'

Loading…
Cancel
Save