fix smartifier again

This commit is contained in:
Kukks
2023-03-30 11:12:32 +02:00
parent 82a1d1a892
commit f2f18c3634
3 changed files with 5 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
<PropertyGroup>
<Product>Wabisabi Coinjoin</Product>
<Description>Allows you to integrate your btcpayserver store with coinjoins.</Description>
<Version>1.0.26</Version>
<Version>1.0.27</Version>
</PropertyGroup>
<!-- Plugin development properties -->

View File

@@ -144,6 +144,9 @@ public class Smartifier
return smartTx;
});
if(tx is null){
continue;
}
var smartCoin = await Coins.GetOrAdd(coin.OutPoint, async point =>
{
utxoLabels.TryGetValue(coin.OutPoint, out var labels);

View File

@@ -28,7 +28,7 @@ public class WabisabiPlugin : BaseBTCPayServerPlugin
{
public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } =
{
new() { Identifier = nameof(BTCPayServer), Condition = ">=1.7.12" }
new() { Identifier = nameof(BTCPayServer), Condition = ">=1.8.0" }
};
public override void Execute(IServiceCollection applicationBuilder)
{