diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-12 12:54:17 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-12 12:55:57 +0000 |
commit | 2509717b11979cf4e291c1f83eb83845728d4428 (patch) | |
tree | 62842124841701f0f43f7da479e121a1496a9f89 | |
parent | Merge pull request #4544 (diff) | |
download | monero-2509717b11979cf4e291c1f83eb83845728d4428.tar.xz |
simplewallet: fix view key parsing in --generate-from-view-key
-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 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; |