Fix binary local pubkey setting

The ed/x pubkeys were not being properly set via the json proxy, and so
were throwing when use.  (This only triggered when calling on a service
node as the non-service-node path did the wrong thing).
This commit is contained in:
Jason Rhinelander 2022-12-16 14:51:46 -04:00
parent b51972f296
commit 5bd678010f
No known key found for this signature in database
GPG Key ID: C4992CE7A88D4262
1 changed files with 2 additions and 1 deletions

View File

@ -2469,7 +2469,8 @@ namespace cryptonote::rpc {
"public_ip", epee::string_tools::get_ip_string_from_int32(m_core.sn_public_ip()),
"storage_port", m_core.storage_https_port(),
"storage_lmq_port", m_core.storage_omq_port(),
"quorumnet_port", m_core.quorumnet_port(),
"quorumnet_port", m_core.quorumnet_port());
set_if_requested(reqed, binary,
"pubkey_ed25519", m_core.get_service_keys().pub_ed25519,
"pubkey_x25519", m_core.get_service_keys().pub_x25519);
} else {