simplewallet: fix arg indexing bug in set_device_name

This commit is contained in:
stoffu 2019-08-13 18:10:32 +09:00
parent 5a91b83cb4
commit ae7bf37ed6
No known key found for this signature in database
GPG Key ID: 41DAB8343A9EC012
1 changed files with 1 additions and 1 deletions

View File

@ -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();