make connection_id a string in RPC
It's sent as JSON, so raw binary is not appropriate
This commit is contained in:
@@ -244,7 +244,7 @@ namespace cryptonote
|
||||
cnx.current_download = cntxt.m_current_speed_down / 1024;
|
||||
cnx.current_upload = cntxt.m_current_speed_up / 1024;
|
||||
|
||||
cnx.connection_id = cntxt.m_connection_id;
|
||||
cnx.connection_id = epee::string_tools::pod_to_hex(cntxt.m_connection_id);
|
||||
|
||||
cnx.height = cntxt.m_remote_blockchain_height;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user