diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-10-15 13:48:21 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-10-15 13:48:21 +0200 |
commit | 29d7ef0fe067cb595044c5a584d229ef7f1d66e8 (patch) | |
tree | 2fcf0d2d2e03af10780854b30c1aa95cba675804 | |
parent | Merge pull request #4587 (diff) | |
parent | simplewallet: fix view key parsing in --generate-from-view-key (diff) | |
download | monero-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.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; |