From 25482a0021cd4bfaaafe364c7d1e716c1f97a3df Mon Sep 17 00:00:00 2001 From: Franz Ehrlich Date: Sun, 12 Nov 2017 13:45:15 +0100 Subject: [PATCH] fixed no transactions --- manager/ProcessManager.py | 2 +- webui/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manager/ProcessManager.py b/manager/ProcessManager.py index 56d3a82..1fefd0a 100644 --- a/manager/ProcessManager.py +++ b/manager/ProcessManager.py @@ -148,7 +148,7 @@ class WalletRPCManager(ProcessManager): def __init__(self, resources_path, wallet_file_path, wallet_password, app, log_level=2): self.user_agent = str(uuid4().hex) wallet_log_path = os.path.join(os.path.dirname(wallet_file_path), "electroneum-wallet-rpc.log") - wallet_rpc_args = u'%s/bin/electroneum-wallet-rpc --restricted-rpc --disable-rpc-login --wallet-file %s --log-file %s --rpc-bind-port %d --log-level 2 --daemon-port %d --password %s' % (resources_path, wallet_file_path, wallet_log_path, RPC_DAEMON_PORT+2, RPC_DAEMON_PORT, wallet_password) + wallet_rpc_args = u'%s/bin/electroneum-wallet-rpc --disable-rpc-login --wallet-file %s --log-file %s --rpc-bind-port %d --log-level %d --daemon-port %d --password %s' % (resources_path, wallet_file_path, wallet_log_path, RPC_DAEMON_PORT+2, log_level, RPC_DAEMON_PORT, wallet_password) ProcessManager.__init__(self, wallet_rpc_args, "electroneum-wallet-rpc") diff --git a/webui/__init__.py b/webui/__init__.py index afa9ca7..c5fd3bb 100644 --- a/webui/__init__.py +++ b/webui/__init__.py @@ -401,7 +401,7 @@ def _load_wallet(self): self.close() return else: - self.run_wallet_rpc(wallet_password, 0) + self.run_wallet_rpc(wallet_password, 2) while not self.wallet_rpc_manager.is_ready(): self.hub.app_process_events(0.5) if self.wallet_rpc_manager.is_invalid_password():