mirror of
https://github.com/monero-project/monero.git
synced 2025-08-20 10:38:16 -04:00
make connection_id a string in RPC
It's sent as JSON, so raw binary is not appropriate
This commit is contained in:
parent
dc6a8014bd
commit
310b790a64
4 changed files with 8 additions and 7 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue