From d6c7dee547c844ecac6a5879721ae767efe4b9bd Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 22 Sep 2019 17:32:22 +0200 Subject: [PATCH] follow-up previous commit --- electrum/wallet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electrum/wallet.py b/electrum/wallet.py index c674da9a0..995ff0666 100644 --- 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'