diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-10-15 13:26:29 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-10-15 13:26:29 +0200 |
commit | 175bfe4747c7f627a2e799a92c0d6d5709af9431 (patch) | |
tree | 59e7ad4a71e61a25f8eba399192da76cdbd54d7e /src | |
parent | Merge pull request #4550 (diff) | |
parent | simplewallet: fix view key parsing in --generate-from-view-key (diff) | |
download | monero-175bfe4747c7f627a2e799a92c0d6d5709af9431.tar.xz |
Merge pull request #4567
14ed029b simplewallet: fix view key parsing in --generate-from-view-key (moneromooo-monero)
Diffstat (limited to 'src')
-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; |