Skip to content

Commit

Permalink
simplewallet: fix arg indexing bug in set_device_name
Browse files Browse the repository at this point in the history
  • Loading branch information
stoffu committed Aug 13, 2019
1 parent 5a91b83 commit ae7bf37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simplewallet/simplewallet.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit ae7bf37

Please sign in to comment.