Wizard: add seed passphrase to wallet creation

This commit is contained in:
tobtoht
2022-05-25 12:59:28 +02:00
parent 1f90825a5b
commit 13c3e9b8e2
12 changed files with 211 additions and 13 deletions
+2
View File
@@ -77,6 +77,8 @@ Seed::Seed(Type type, QStringList mnemonic, NetworkType::Type networkType)
this->time = seed.birthday();
this->setRestoreHeight();
this->encrypted = seed.encrypted();
}
catch (const std::exception &e) {
this->errorString = e.what();
+2
View File
@@ -38,6 +38,8 @@ struct Seed {
QString errorString;
bool encrypted = false;
explicit Seed();
explicit Seed(Type type, NetworkType::Type networkType = NetworkType::MAINNET, QString language = "English");
explicit Seed(Type type, QStringList mnemonic, NetworkType::Type networkType = NetworkType::MAINNET);