mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
Wallet: fix seed length for empty seeds
This commit is contained in:
@@ -41,7 +41,7 @@ QString Wallet::getSeed(const QString &seedOffset) const
|
||||
|
||||
qsizetype Wallet::seedLength() const
|
||||
{
|
||||
auto seedLength = this->getCacheAttribute("feather.seed").split(" ").length();
|
||||
auto seedLength = this->getCacheAttribute("feather.seed").split(" ", Qt::SkipEmptyParts).length();
|
||||
return seedLength ? seedLength : 25;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user