scripts: fixed bug in setting type when creating nodes using core-cli
This commit is contained in:
parent
28d3deeee8
commit
31bc0c6497
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ from core.api.grpc.wrappers import (
|
||||||
Position,
|
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]:
|
def protobuf_to_json(message: Any) -> Dict[str, Any]:
|
||||||
|
|
Loading…
Reference in a new issue