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

View File

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