scripts: fixed bug in setting type when creating nodes using core-cli

This commit is contained in:
Blake Harnden 2022-05-27 10:15:34 -07:00
parent 28d3deeee8
commit 31bc0c6497

View file

@ -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]: