Split mnemonics correctly

This commit is contained in:
nicolas.dorier
2020-09-03 23:59:38 +09:00
parent 69c2400ec7
commit 39beacf884
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ namespace BTCPayServer.Models.StoreViewModels
public string[] Words
{
get => Mnemonic.Split(" ");
get => Mnemonic.Split((char[])null, System.StringSplitOptions.RemoveEmptyEntries);
}
}
}