mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 05:13:25 +01:00
added view_key to wallet RPC command query_key
This commit is contained in:
parent
da523f30fc
commit
67b91ea769
@ -413,6 +413,10 @@ namespace tools
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if(req.key_type.compare("view_key") == 0)
|
||||||
|
{
|
||||||
|
res.key = string_tools::pod_to_hex(m_wallet.get_account().get_keys().m_view_secret_key);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
er.message = "key_type " + req.key_type + " not found";
|
er.message = "key_type " + req.key_type + " not found";
|
||||||
|
Loading…
Reference in New Issue
Block a user