diff --git a/daemon/scripts/core-cli b/daemon/scripts/core-cli index 6f2c1f5b..b9de2615 100755 --- a/daemon/scripts/core-cli +++ b/daemon/scripts/core-cli @@ -28,7 +28,7 @@ from core.api.grpc.wrappers import ( Position, ) -NODE_TYPES = [x for x in NodeType if x != NodeType.PEER_TO_PEER] +NODE_TYPES = [x.name for x in NodeType if x != NodeType.PEER_TO_PEER] def protobuf_to_json(message: Any) -> Dict[str, Any]: