Seed: fix misc UI

This commit is contained in:
tobtoht
2022-05-26 20:30:39 +02:00
parent 93a6a986e0
commit 6633353bf3
8 changed files with 27 additions and 19 deletions
+3 -3
View File
@@ -200,9 +200,9 @@ void AppContext::onTorSettingsChanged() {
}
void AppContext::onSetRestoreHeight(quint64 height){
auto seed = this->wallet->getCacheAttribute("feather.seed");
if(!seed.isEmpty()) {
const auto msg = "This wallet has a 14 word mnemonic seed which has the restore height embedded.";
auto seedLength = this->wallet->seedLength();
if (seedLength == 14 || seedLength == 16) {
const auto msg = "This wallet has a mnemonic seed with an embedded restore height.";
emit setRestoreHeightError(msg);
return;
}