mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-28 01:56:38 -04:00
removed cli for tests
This commit is contained in:
@@ -12,7 +12,7 @@ from src.types.peer_info import PeerInfo
|
||||
from src.util.ints import uint16, uint64
|
||||
from src.types.sized_bytes import bytes32
|
||||
from src.util.byte_types import hexstr_to_bytes
|
||||
from src.util.config import load_config_cli
|
||||
from src.util.config import load_config
|
||||
|
||||
|
||||
class EnhancedJSONEncoder(json.JSONEncoder):
|
||||
@@ -134,7 +134,7 @@ class RpcApiHandler:
|
||||
port = request_data["port"]
|
||||
target_node: PeerInfo = PeerInfo(host, uint16(int(port)))
|
||||
|
||||
config = load_config_cli("config.yaml", "full_node")
|
||||
config = load_config("config.yaml", "full_node")
|
||||
if self.full_node.server is None or not (
|
||||
await self.full_node.server.start_client(target_node, None, config)
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user