Some refactoring

This commit is contained in:
TheXamlGuy
2024-06-09 22:41:58 +01:00
parent b5f125546f
commit be6924f49e
37 changed files with 204 additions and 107 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ public class CreateWalletHandler(IWalletFactory componentFactory,
public async Task<bool> Handle(CreateEventArgs<Wallet<(string, string)>> args,
CancellationToken cancellationToken)
{
if (args.Value is Wallet <(string, string)> Wallet)
if (args.Sender is Wallet <(string, string)> Wallet)
{
if (Wallet.Value is (string name, string password) &&
name is { Length: > 0 } &&