mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 11:23:26 +01:00
Merge pull request #4567
14ed029b
simplewallet: fix view key parsing in --generate-from-view-key (moneromooo-monero)
This commit is contained in:
commit
175bfe4747
@ -3032,7 +3032,7 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
crypto::secret_key viewkey;
|
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");
|
fail_msg_writer() << tr("failed to parse view key secret key");
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user