mirror of
https://github.com/monero-project/monero.git
synced 2024-12-24 12:39:59 +00:00
simplewallet: fix arg indexing bug in set_device_name
This commit is contained in:
parent
5a91b83cb4
commit
ae7bf37ed6
1 changed files with 1 additions and 1 deletions
|
@ -2689,7 +2689,7 @@ bool simple_wallet::set_device_name(const std::vector<std::string> &args/* = std
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_wallet->device_name(args[0]);
|
m_wallet->device_name(args[1]);
|
||||||
bool r = false;
|
bool r = false;
|
||||||
try {
|
try {
|
||||||
r = m_wallet->reconnect_device();
|
r = m_wallet->reconnect_device();
|
||||||
|
|
Loading…
Reference in a new issue