diff options
| author | stoffu <stoffu@protonmail.ch> | 2019-08-13 18:10:32 +0900 |
|---|---|---|
| committer | stoffu <stoffu@protonmail.ch> | 2019-08-13 18:10:32 +0900 |
| commit | ae7bf37ed6cf979af62a51ac3c779e077fa5ef54 (patch) | |
| tree | fd5020f0a11acc8aa72e348d90493d1c4a7e81c8 | |
| parent | 5a91b83cb426f2a3e576c36cedabd9b6e470d134 (diff) | |
| download | monzero-core-ae7bf37ed6cf979af62a51ac3c779e077fa5ef54.tar.gz monzero-core-ae7bf37ed6cf979af62a51ac3c779e077fa5ef54.tar.xz monzero-core-ae7bf37ed6cf979af62a51ac3c779e077fa5ef54.zip | |
simplewallet: fix arg indexing bug in set_device_name
| -rw-r--r-- | src/simplewallet/simplewallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 24c50f4ba..57b913de3 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -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(); |
