This commit is contained in:
Kukks
2023-11-02 16:08:10 +01:00
parent 74c6931e8c
commit ba68159a3a
17 changed files with 960 additions and 58 deletions

View File

@@ -20,13 +20,13 @@ public class BreezLightningConnectionStringHandler : ILightningConnectionStringH
return null;
}
if (!kv.TryGetValue("store", out var storeId))
if (!kv.TryGetValue("key", out var key))
{
error = $"The key 'store' is mandatory for breez connection strings";
error = $"The key 'key' is mandatory for breez connection strings";
return null;
}
error = null;
return _breezService.GetClient(storeId);
return _breezService.GetClientByPaymentKey(key);
}
}