projects
/
gamesguru
/
feather.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
398ac9a
)
seed: use member variable not moved argument
author
tobtoht
<tob@featherwallet.org>
Tue, 8 Apr 2025 19:50:09 +0000
(21:50 +0200)
committer
tobtoht
<tob@featherwallet.org>
Tue, 8 Apr 2025 19:50:09 +0000
(21:50 +0200)
src/utils/Seed.cpp
patch
|
blob
|
history
diff --git
a/src/utils/Seed.cpp
b/src/utils/Seed.cpp
index 9396cb35c0bc16341a9d7ccda72a91200b16b5cb..87f0f70a4859b44918843262638671eadd9f29b4 100644
(file)
--- a/
src/utils/Seed.cpp
+++ b/
src/utils/Seed.cpp
@@
-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";
}