aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-12 12:54:17 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-12 12:55:57 +0000
commit2509717b11979cf4e291c1f83eb83845728d4428 (patch)
tree62842124841701f0f43f7da479e121a1496a9f89
parentMerge pull request #4544 (diff)
downloadmonero-2509717b11979cf4e291c1f83eb83845728d4428.tar.xz
simplewallet: fix view key parsing in --generate-from-view-key
-rw-r--r--src/simplewallet/simplewallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 4ec7e3eb4..e1a98135c 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -3032,7 +3032,7 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
return false;
}
crypto::secret_key viewkey;
- if (viewkey_string.hex_to_pod(unwrap(unwrap(viewkey))))
+ if (!viewkey_string.hex_to_pod(unwrap(unwrap(viewkey))))
{
fail_msg_writer() << tr("failed to parse view key secret key");
return false;