bump breez sdk to 0.4

This commit is contained in:
Kukks
2024-05-08 14:06:09 +02:00
parent eb5fdb0f2a
commit 99330c931e
2 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@
<PropertyGroup> <PropertyGroup>
<Product>Breez / Greenlight</Product> <Product>Breez / Greenlight</Product>
<Description>Lightweight lightning baby!</Description> <Description>Lightweight lightning baby!</Description>
<Version>1.0.0</Version> <Version>1.0.1</Version>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup> </PropertyGroup>
<!-- Plugin development properties --> <!-- Plugin development properties -->
@@ -34,7 +34,7 @@
<ProjectReference Include="..\..\submodules\btcpayserver\BTCPayServer\BTCPayServer.csproj" /> <ProjectReference Include="..\..\submodules\btcpayserver\BTCPayServer\BTCPayServer.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Breez.Sdk" Version="0.3.6" /> <PackageReference Include="Breez.Sdk" Version="0.4.0" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -51,7 +51,7 @@ public class BreezLightningClient : ILightningClient, IDisposable, EventListener
network == NBitcoin.Network.RegTest ? Network.REGTEST : Network.SIGNET network == NBitcoin.Network.RegTest ? Network.REGTEST : Network.SIGNET
}; };
var seed = mnemonic.DeriveSeed(); var seed = mnemonic.DeriveSeed();
Sdk = BreezSdkMethods.Connect(config, seed.ToList(), this); Sdk = BreezSdkMethods.Connect(new ConnectRequest(config, seed.ToList()), this);
} }
public BlockingBreezServices Sdk { get; } public BlockingBreezServices Sdk { get; }