Bug fixes

This commit is contained in:
TheXamlGuy
2024-07-05 21:57:01 +01:00
parent e91c03d4de
commit bc5023c8ac
28 changed files with 208 additions and 106 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ public class CreateWalletHandler(IWalletHostFactory componentFactory,
{
if (componentFactory.Create(name) is IComponentHost host)
{
IWalletFactory factory = host.Services.GetRequiredService<IWalletFactory>();
if (await factory.Create(name, password, imageDescriptor))
IWalletFactory walletFactory = host.Services.GetRequiredService<IWalletFactory>();
if (await walletFactory.Create(name, password, imageDescriptor))
{
host.Start();
publisher.Publish(Activated.As(new Wallet<IComponentHost>(host)));