mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 22:08:54 +00:00
simplewallet: fix view key parsing in --generate-from-view-key
This commit is contained in:
parent
77e1ebff26
commit
14ed029b24
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user