mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
Wallet: fix seed length for empty seeds
This commit is contained in:
parent
ecd15c672f
commit
a66b282ce1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue