commit d6c7dee547c844ecac6a5879721ae767efe4b9bd
parent a35421ab713c947ebbe875063d12db15331e197b
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 22 Sep 2019 17:32:22 +0200
follow-up previous commit
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/electrum/wallet.py b/electrum/wallet.py
@@ -1372,9 +1372,9 @@ class Abstract_Wallet(AddressSynchronizer):
return
self.check_if_expired(req)
# 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')
- port = self.config.get('payserver_port')
+ port = self.config.get('payserver_port', 8002)
root = self.config.get('payserver_root', '/r')
use_ssl = bool(self.config.get('ssl_keyfile'))
protocol = 'https' if use_ssl else 'http'