From ae7bf37ed6cf979af62a51ac3c779e077fa5ef54 Mon Sep 17 00:00:00 2001 From: stoffu Date: Tue, 13 Aug 2019 18:10:32 +0900 Subject: simplewallet: fix arg indexing bug in set_device_name --- src/simplewallet/simplewallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &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(); -- cgit v1.2.3