aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-10-15 13:26:29 +0200
committerRiccardo Spagni <ric@spagni.net>2018-10-15 13:26:29 +0200
commit175bfe4747c7f627a2e799a92c0d6d5709af9431 (patch)
tree59e7ad4a71e61a25f8eba399192da76cdbd54d7e /src
parentMerge pull request #4550 (diff)
parentsimplewallet: fix view key parsing in --generate-from-view-key (diff)
downloadmonero-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.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;