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