mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 01:12:39 +00:00
Merge pull request #2443
ffe27127
wallet_rpc_server: fix index for newly added address book entry (moneromooo-monero)
This commit is contained in:
commit
5953724f69
1 changed files with 1 additions and 1 deletions
|
@ -1536,7 +1536,7 @@ namespace tools
|
|||
er.message = "Failed to add address book entry";
|
||||
return false;
|
||||
}
|
||||
res.index = m_wallet->get_address_book().size();
|
||||
res.index = m_wallet->get_address_book().size() - 1;
|
||||
return true;
|
||||
}
|
||||
//------------------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue