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