diff --git a/src/RpcServer/RpcServer.Node.cs b/src/RpcServer/RpcServer.Node.cs index 0483f5ed1..f42fd96c6 100644 --- a/src/RpcServer/RpcServer.Node.cs +++ b/src/RpcServer/RpcServer.Node.cs @@ -60,10 +60,10 @@ private static JObject GetRelayResult(VerifyResult reason, UInt256 hash) private JObject GetVersion(JArray _params) { JObject json = new JObject(); - json["tcp_port"] = LocalNode.Singleton.ListenerTcpPort; - json["ws_port"] = LocalNode.Singleton.ListenerWsPort; + json["tcpPort"] = LocalNode.Singleton.ListenerTcpPort; + json["wsPort"] = LocalNode.Singleton.ListenerWsPort; json["nonce"] = LocalNode.Nonce; - json["user_agent"] = LocalNode.UserAgent; + json["userAgent"] = LocalNode.UserAgent; return json; }