mirror of
https://github.com/feather-wallet/feather.git
synced 2025-04-16 18:01:54 +00:00
seed: use member variable not moved argument
This commit is contained in:
parent
398ac9aed7
commit
32ce43fc17
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ Seed::Seed(Type type, QStringList mnemonic, NetworkType::Type networkType)
|
|||
if (this->type == Type::MONERO) {
|
||||
crypto::secret_key recovery_key;
|
||||
std::string old_language;
|
||||
if (!crypto::ElectrumWords::words_to_bytes(mnemonic.join(" ").toStdString(), recovery_key, old_language)) {
|
||||
if (!crypto::ElectrumWords::words_to_bytes(this->mnemonic.join(" ").toStdString(), recovery_key, old_language)) {
|
||||
if (this->mnemonic.length() == 25) {
|
||||
this->errorString = "Invalid checksum word";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue