mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 13:23:29 +01: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
@ -1536,7 +1536,7 @@ namespace tools
|
|||||||
er.message = "Failed to add address book entry";
|
er.message = "Failed to add address book entry";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
res.index = m_wallet->get_address_book().size();
|
res.index = m_wallet->get_address_book().size() - 1;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user