mirror of
https://github.com/monero-project/monero.git
synced 2025-08-06 03:04:23 -04:00
wallet_rpc_server: add all field to export_key_images
To use if you want all key images, not just the ones for recently imported outputs
This commit is contained in:
parent
ed54ac8fdf
commit
d7354c7864
4 changed files with 12 additions and 6 deletions
|
@ -2495,7 +2495,7 @@ namespace tools
|
|||
if (!m_wallet) return not_open(er);
|
||||
try
|
||||
{
|
||||
std::pair<size_t, std::vector<std::pair<crypto::key_image, crypto::signature>>> ski = m_wallet->export_key_images();
|
||||
std::pair<size_t, std::vector<std::pair<crypto::key_image, crypto::signature>>> ski = m_wallet->export_key_images(req.all);
|
||||
res.offset = ski.first;
|
||||
res.signed_key_images.resize(ski.second.size());
|
||||
for (size_t n = 0; n < ski.second.size(); ++n)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue