aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.cpp
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:54:42 +0000
commit14ed029b241d00f6a711b9362de4ab094ec30ea2 (patch)
treeddf38b1fe51ba877df8a314e6ceafa258746f8ad /src/simplewallet/simplewallet.cpp
parentMerge pull request #4543 (diff)
downloadmonero-14ed029b241d00f6a711b9362de4ab094ec30ea2.tar.xz
simplewallet: fix view key parsing in --generate-from-view-key
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
-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;