aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-10-15 13:48:21 +0200
committerRiccardo Spagni <ric@spagni.net>2018-10-15 13:48:21 +0200
commit29d7ef0fe067cb595044c5a584d229ef7f1d66e8 (patch)
tree2fcf0d2d2e03af10780854b30c1aa95cba675804
parentMerge pull request #4587 (diff)
parentsimplewallet: fix view key parsing in --generate-from-view-key (diff)
downloadmonero-29d7ef0fe067cb595044c5a584d229ef7f1d66e8.tar.xz
Merge pull request #4568
2509717b simplewallet: fix view key parsing in --generate-from-view-key (moneromooo-monero)
-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;