Skip to content

Commit c2289e7

Browse files
authored
Cc wallet missing - remove miniupnpc late install - Merge pull request #191 from Chia-Network/cc_wallet-missing
@matt-o-how or @Yostra - When you added cc_wallet you also needed to add it in the modules section of setup.py. It worked for ya'll because you had the source on your disk but doesn't work for binary wheel installs like Windows @richardkiss - I had to revert the pip install miniupnpc logic in start_node as it was causing freezes on Windows.
2 parents b46ae0b + 2fa688f commit c2289e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"src.wallet",
6161
"src.wallet.puzzles",
6262
"src.wallet.rl_wallet",
63+
"src.wallet.cc_wallet",
6364
"src.wallet.util",
6465
"src.ssl",
6566
],

src/server/start_full_node.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import logging
33
import logging.config
44
import signal
5+
import miniupnpc
56

67
import aiosqlite
78

@@ -24,7 +25,6 @@
2425
from src.util.config import load_config_cli, load_config
2526
from src.util.default_root import DEFAULT_ROOT_PATH
2627
from src.util.path import mkdir, path_from_root
27-
from src.util.pip_import import pip_import
2828
from src.util.setproctitle import setproctitle
2929

3030

@@ -61,7 +61,6 @@ async def async_main():
6161
if config["enable_upnp"]:
6262
log.info(f"Attempting to enable UPnP (open up port {config['port']})")
6363
try:
64-
miniupnpc = pip_import("miniupnpc", "miniupnpc==2.1")
6564
upnp = miniupnpc.UPnP()
6665
upnp.discoverdelay = 5
6766
upnp.discover()

0 commit comments

Comments
 (0)