mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
seed: use member variable not moved argument
This commit is contained in:
+1
-1
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user