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:54:42 +0000 |
commit | 14ed029b241d00f6a711b9362de4ab094ec30ea2 (patch) | |
tree | ddf38b1fe51ba877df8a314e6ceafa258746f8ad /src/simplewallet | |
parent | Merge pull request #4543 (diff) | |
download | monero-14ed029b241d00f6a711b9362de4ab094ec30ea2.tar.xz |
simplewallet: fix view key parsing in --generate-from-view-key
Diffstat (limited to 'src/simplewallet')
-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; |