From 31bc0c64973e2a9e1af1ac7b2a6f813012799f24 Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Fri, 27 May 2022 10:15:34 -0700 Subject: [PATCH] scripts: fixed bug in setting type when creating nodes using core-cli --- daemon/scripts/core-cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]: